pgsql: Fix bug in the new B-tree incomplete-split code.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in the new B-tree incomplete-split code.
Date: 2014-04-01 16:24:37
Message-ID: E1WV1UL-00030I-3P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bug in the new B-tree incomplete-split code.

Inserting a downlink to an internal page clears the incomplete-split flag
of the child's left sibling, so the left sibling's LSN also needs to be
updated.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/954523cdfe229f1cb99a43a19e291a557ae2822d

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 8 ++++++++
1 file changed, 8 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-04-01 18:26:46 pgsql: Remove dead check for backup block, replace with Assert.
Previous Message Heikki Linnakangas 2014-04-01 06:30:56 pgsql: Fix typo in comment.