pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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(-)