]> granicus.if.org Git - postgresql/commit
Check for GiST index tuples that don't fit on a page.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 3 Oct 2014 09:07:10 +0000 (12:07 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 3 Oct 2014 11:50:40 +0000 (14:50 +0300)
commit8e137b075dc79997d621c7442c0eb299efed7ed7
tree6578a0ed94a2478cc0ebe0336e0be66cfcd539fc
parenta19423b22e899f73722abda984bd1f1867d01348
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.
src/backend/access/gist/gist.c