Deduplicate metapage sanity checks in _bt_gettrueroot() Replace the metapage sanity checks in _bt_gettrueroot() with a call to _bt_getmeta(), which does exactly the same checks. Author: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Neil Chen <carpenter.nail.cz@gmail.com> Discussion: https://www.postgresql.org/message-id/CAEoWx2nisjqs4iC9o4Hu7-Ab767=cMZZzmhBGb8SaQtMMmVqPQ@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/99319edb8f5e9c4363ac79088e58a70570d728bb Modified Files -------------- src/backend/access/nbtree/nbtpage.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных