]> git.ipfire.org Git - thirdparty/postgresql.git/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:29 +0000 (14:50 +0300)
commitef8ac584e0a7062101dc244566bfe0ca7a13496d
tree74cca240d350e1b8160c6dcb71bb85995d968211
parent49b1d9806199bac31f87c793b6f7ff1acc64e4e0
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