pgsql: Repair still another bug in the btree page split WAL reduction - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Repair still another bug in the btree page split WAL reduction
Date
Msg-id 20071116195350.6F30F7540F0@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: teodor@postgresql.org (Teodor Sigaev)
Date:
Subject: pgsql: Backpatch: Fix tsvector_out() and tsquery_out() to escape
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Fix inconsistent message wording, and split off a couple of