Assert OldestXmin is valid in heap_page_prune_opt.
Previously we checked whether OldestXmin is valid in heap_page_prune_opt and exited early if not so. This is mainly because in the case of persistent tables, GPDB may call into here without having a local snapshot and thus no valid OldestXmin. Since now we do not support persistent tables any more, revert this check to an assertion to keep the same with upstream. Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io> Reviewed-by: NDaniel Gustafsson <dgustafsson@pivotal.io>
Showing
想要评论请 注册 或 登录