diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-03-04 12:32:40 -0800 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-03-04 12:32:40 -0800 |
commit | 72c7c4e38610297b200721a7d5201f79e7ceef7c (patch) | |
tree | bb8d1bba7f328cdc70007dd79715a431bf0c1687 /src | |
parent | 6ad94e4d73c098aea8636e27212b9284c6cd9708 (diff) | |
download | postgresql-72c7c4e38610297b200721a7d5201f79e7ceef7c.tar.gz postgresql-72c7c4e38610297b200721a7d5201f79e7ceef7c.zip |
Correct obsolete nbtree page split WAL comment.
Commit 2c03216d831, which revamped the WAL record format, failed to
update a comment referencing the old API. Update the comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index a4d46a0f446..2b180288239 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -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 - * _bt_restore_page(). We set lastrdata->buffer to InvalidBuffer, - * because we're going to recreate the whole page anyway, so it should - * never be stored by XLogInsert. + * _bt_restore_page(). The whole right page will be recreated. * * Direct access to page is not good but faster - we should implement * some new func in page API. Note we only store the tuples |