]> 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:58 +0000 (14:50 +0300)
commitf04b112d573be996099300c83054aa5564d2b520
tree2c93d49586eb4419f7ef1465ba91d3126b95b490
parent98a68b47858b43a37bb9752c311412a31c091fe7
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