Repair still another bug in the btree page split WAL reduction patch:
commita37c16b4141bf1726f78ca1ec5523eee6c684813
authortgl <tgl>
Fri, 16 Nov 2007 19:53:50 +0000 (16 19:53 +0000)
committertgl <tgl>
Fri, 16 Nov 2007 19:53:50 +0000 (16 19:53 +0000)
treeaf359e221e2339873e41a6cf4a37d414f1bcce7e
parent7a4d7da7e72f5c80dd74d550d6389d7d510b1ce6
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.
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtxlog.c
src/include/access/nbtree.h