Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 72c7c4e

Browse files
Correct obsolete nbtree page split WAL comment.
Commit 2c03216, which revamped the WAL record format, failed to update a comment referencing the old API. Update the comment.
1 parent 6ad94e4 commit 72c7c4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/access/nbtree/nbtinsert.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -1491,9 +1491,7 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
14911491

14921492
/*
14931493
* Log the contents of the right page in the format understood by
1494-
* _bt_restore_page(). We set lastrdata->buffer to InvalidBuffer,
1495-
* because we're going to recreate the whole page anyway, so it should
1496-
* never be stored by XLogInsert.
1494+
* _bt_restore_page(). The whole right page will be recreated.
14971495
*
14981496
* Direct access to page is not good but faster - we should implement
14991497
* some new func in page API. Note we only store the tuples

0 commit comments

Comments
 (0)