]> granicus.if.org Git - postgresql/commit
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)
commit93190c309802b9adb2aa56bfb8bb1ef1a6b8f93f
tree78a27cb633f2703912904403862f821f39ca9baf
parentbb4a78c0708805591cf0d53d13805ff01d9c4a0d
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