Commit 72c7c4e3 authored by Peter Geoghegan's avatar Peter Geoghegan

Correct obsolete nbtree page split WAL comment.

Commit 2c03216d, which revamped the WAL record format, failed to
update a comment referencing the old API.  Update the comment.
parent 6ad94e4d
...@@ -1491,9 +1491,7 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright, ...@@ -1491,9 +1491,7 @@ _bt_split(Relation rel, Buffer buf, Buffer cbuf, OffsetNumber firstright,
/* /*
* Log the contents of the right page in the format understood by * Log the contents of the right page in the format understood by
* _bt_restore_page(). We set lastrdata->buffer to InvalidBuffer, * _bt_restore_page(). The whole right page will be recreated.
* because we're going to recreate the whole page anyway, so it should
* never be stored by XLogInsert.
* *
* Direct access to page is not good but faster - we should implement * Direct access to page is not good but faster - we should implement
* some new func in page API. Note we only store the tuples * some new func in page API. Note we only store the tuples
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment