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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check for GiST index tuples that don't fit on a page.
Date: 2014-10-03 11:54:54
Message-ID: E1Xa1Rm-0008Lz-4z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_3_STABLE

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

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-10-03 15:39:51 pgsql: Still another typo fix for 0709b7ee72e4bc71ad07b7120acd117265ab5
Previous Message Heikki Linnakangas 2014-10-03 07:29:25 pgsql: Fix documentation for CREATE SEQUENCE IF NOT EXISTS.