We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 317c117 + ced36fc commit e3b5a3fCopy full SHA for e3b5a3f
src/backend/storage/buffer/bufmgr.c
@@ -5204,9 +5204,13 @@ RelationCopyStorageUsingBuffer(RelFileLocator srclocator,
5204
memcpy(dstPage, srcPage, BLCKSZ);
5205
MarkBufferDirty(dstBuf);
5206
5207
- /* WAL-log the copied page. */
+ /*
5208
+ * WAL-log the copied page.
5209
+ * Note that we don't know about the type of data contained in the
5210
+ * page, so we can't report that the buffer is a standard page.
5211
+ */
5212
if (use_wal)
- log_newpage_buffer(dstBuf, true);
5213
+ log_newpage_buffer(dstBuf, false);
5214
5215
END_CRIT_SECTION();
5216
0 commit comments