Repair still another bug in the btree page split WAL reduction patch:
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2007 19:53:50 +0000 (19:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2007 19:53:50 +0000 (19:53 +0000)
commite76f3acec09bd3fd3fc1e4c0c94b6da802ffbaf0
treec4b5827d5525a7069bcdebe2cb743720929eff3a
parent5f54fd86cf0d805af4f6600be256dc4d8a13faac
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