pgsql: Fix crash in the new GiST insertion code, when an update splits

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash in the new GiST insertion code, when an update splits
Date: 2011-01-09 19:37:15
Message-ID: E1Pc14l-0000NB-1H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=ca63029eac379d82f78a985a5d4068b9954deb02

Modified Files
--------------
src/backend/access/gist/gist.c | 30 ++++++++++++++++++------------
1 files changed, 18 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-01-09 20:15:16 pgsql: Split pg_start_backup() and pg_stop_backup() into two pieces
Previous Message Tom Lane 2011-01-09 19:35:15 pgsql: Fix up core tsquery GIN support for new extractQuery API.