pgsql: Check for GiST index tuples that don't fit on a page. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Check for GiST index tuples that don't fit on a page.
Date
Msg-id E1Xa1Rm-0008M7-5K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Check for GiST index tuples that don't fit on a page.

The page splitting code would go into infinite recursion if you try to
insert an index tuple that doesn't fit even on an empty page.

Per analysis and suggested fix by Andrew Gierth. Fixes bug #11555, reported
by Bryan Seitz (analysis happened over IRC). Backpatch to all supported
versions.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f04b112d573be996099300c83054aa5564d2b520

Modified Files
--------------
src/backend/access/gist/gist.c |   17 +++++++++++++++++
1 file changed, 17 insertions(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Check for GiST index tuples that don't fit on a page.
Next
From: Robert Haas
Date:
Subject: pgsql: Still another typo fix for 0709b7ee72e4bc71ad07b7120acd117265ab5