Commit
6f6f284c7ee4 introduced use of LSN_FORMAT_ARGS across the whole
tree to remove use of manual bit-shifting, and commit
2633dae2e487
changed the printf format to be %X/%08X; however commit
28d534e2ae0a
violated 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
{
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;
}
}