Avoid misinterpreting GiST pages in pageinspect.
commitfa41cf8f183ac5d702e91da567e9b3375c632081
authorPeter Geoghegan <pg@bowt.ie>
Mon, 15 Feb 2021 03:43:25 +0000 (14 19:43 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 15 Feb 2021 03:43:25 +0000 (14 19:43 -0800)
tree6dac5a77bd6cd37f881b879fc1335d0f66dade3c
parent7cde6b13a9b630e2f04d91e2f17dedc2afee21c6
Avoid misinterpreting GiST pages in pageinspect.

GistPageSetDeleted() sets pd_lower when deleting a page, and sets the
page contents to a GISTDeletedPageContents.  Avoid treating deleted GiST
pages as regular slotted pages within pageinspect.

Oversight in commit 756ab291.

Author: Andrey Borodin <x4mmm@yandex-team.ru>
contrib/pageinspect/gistfuncs.c