mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Don't include unused space in LOG_NEWPAGE records.
This is the same trick we use when taking a full page image of a buffer passed to XLogInsert.
This commit is contained in:
@ -83,7 +83,7 @@ gistbuildempty(PG_FUNCTION_ARGS)
|
||||
START_CRIT_SECTION();
|
||||
GISTInitBuffer(buffer, F_LEAF);
|
||||
MarkBufferDirty(buffer);
|
||||
log_newpage_buffer(buffer);
|
||||
log_newpage_buffer(buffer, true);
|
||||
END_CRIT_SECTION();
|
||||
|
||||
/* Unlock and release the buffer */
|
||||
|
Reference in New Issue
Block a user