Content-Length: 261532 | pFad | http://github.com/postgrespro/postgres/commit/72c7c4e38610297b200721a7d5201f79e7ceef7c

BE Correct obsolete nbtree page split WAL comment. · postgrespro/postgres@72c7c4e · GitHub
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

Lines changed: 1 addition & 3 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/72c7c4e38610297b200721a7d5201f79e7ceef7c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy