Fix crash in the new GiST insertion code, when an update splits the root page.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: ca63029eac379d82f78a985a5d4068b9954deb02
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-01-09T19:36:22Z
Releases: 9.1.0
Fix crash in the new GiST insertion code, when an update splits the root page.

This bug was exercised by contrib/intarray/bench, as noted by Tom Lane.

Files

PathChange+/−
src/backend/access/gist/gist.c modified +18 −12