pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
Дата
Msg-id E1ZJk7X-0001dK-CD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid calling PageGetSpecialPointer() on an all-zeros page.

That was otherwise harmless, but tripped the new assertion in
PageGetSpecialPointer().

Reported by Amit Langote. Backpatch to 9.5, where the assertion was added.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6a0a388c202098db207fff8e571f599296aa57d8

Modified Files
--------------
src/backend/access/nbtree/nbtree.c |    6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix handling of all-zero pages in SP-GiST vacuum.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Reuse all-zero pages in GIN.