pgsql: Avoid misinterpreting GiST pages in pageinspect.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Avoid misinterpreting GiST pages in pageinspect.
Дата
Msg-id E1lBUoD-000744-O6@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Adjust lazy_scan_heap() accounting comments.
Следующее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Add "LP_DEAD item?" column to GiST pageinspect functions