]> 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:17 +0000 (14:50 +0300)
commit925e10dc57cdf0efb7268a65b411f1e58ac5116d
treeb1f47e803bafebe416e164bc82703c165f22106c
parent80f9a368be91d179cddd9666f8cb66132e52727d
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