]> 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:46 +0000 (14:50 +0300)
commitf270a1611026616d1304d4623f7e7acd0d6c63d6
tree9f90643d4f1ed2585951d9e6eea31fa00d7235bd
parent7f71c891a53c42a80272ca1ff129bc9b7d4de50d
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