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 <[email protected]>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fa41cf8f183ac5d702e91da567e9b3375c632081

Modified Files
--------------
contrib/pageinspect/gistfuncs.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

Reply via email to