pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
@ 2015-07-27 15:15 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2015-07-27 15:15 UTC (permalink / raw)
  To: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/65c384c5abee7df6d27f98135790ea24c1b9578b

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page.
@ 2015-07-27 15:15 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2015-07-27 15:15 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-07-27 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 15:15 pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2015-07-27 15:15 pgsql: Avoid calling PageGetSpecialPointer() on an all-zeros page. Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox