pgsql: Repair still another bug in the btree page split WAL reduction

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Repair still another bug in the btree page split WAL reduction
Date: 2007-11-16 19:53:50
Message-ID: 20071116195350.6F30F7540F0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Repair still another bug in the btree page split WAL reduction patch:
it failed for splits of non-leaf pages because in such pages the first
data key on a page is suppressed, and so we can't just copy the first
key from the right page to reconstitute the left page's high key.
Problem found by Koichi Suzuki, patch by Heikki.

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtinsert.c (r1.161 -> r1.162)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c?r1=1.161&r2=1.162)
nbtxlog.c (r1.48 -> r1.49)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtxlog.c?r1=1.48&r2=1.49)
pgsql/src/include/access:
nbtree.h (r1.114 -> r1.115)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/nbtree.h?r1=1.114&r2=1.115)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-16 20:05:49 Re: [COMMITTERS] pgsql: update files for beta3
Previous Message Peter Eisentraut 2007-11-16 19:07:26 Re: [COMMITTERS] pgsql: update files for beta3