mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
Fix LSN format in REPACK worker debug message
Commit6f6f284c7eintroduced use of LSN_FORMAT_ARGS across the whole tree to remove use of manual bit-shifting, and commit2633dae2e4changed the printf format to be %X/%08X; however commit28d534e2aeviolated both conventions by reintroducing the old manual-shift style with the deprecated %X/%X format in one debug message. Make that new message conform to our style. Author: kenny <kennychen851228@gmail.com> Backpatch-through: 19 Discussion: https://postgr.es/m/CAPXstDuWD8jg0=C8PXTXGSTTsZcjqJ+u+xKCrMpN99CXsxQzCg@mail.gmail.com
This commit is contained in:
@@ -397,8 +397,8 @@ decode_concurrent_changes(LogicalDecodingContext *ctx,
|
||||
{
|
||||
LogicalIncreaseRestartDecodingForSlot(end_lsn, end_lsn);
|
||||
LogicalConfirmReceivedLocation(end_lsn);
|
||||
elog(DEBUG1, "REPACK: confirmed receive location %X/%X",
|
||||
(uint32) (end_lsn >> 32), (uint32) end_lsn);
|
||||
elog(DEBUG1, "REPACK: confirmed receive location %X/%08X",
|
||||
LSN_FORMAT_ARGS(end_lsn));
|
||||
repack_current_segment = segno_new;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user