Thread: pgsql: Avoid misinterpreting GiST pages in pageinspect.

pgsql: Avoid misinterpreting GiST pages in pageinspect.

From
Peter Geoghegan
Date:
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>

Branch
------
master

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

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