mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Simplify printing of LSNs
Add a macro LSN_FORMAT_ARGS for use in printf-style printing of LSNs. Convert all applicable code to use it. Reviewed-by: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/CAExHW5ub5NaTELZ3hJUCE6amuvqAtsSxc7O+uK7y4t9Rrk23cw@mail.gmail.com
This commit is contained in:
@ -1120,9 +1120,7 @@ copy_table_done:
|
||||
|
||||
elog(DEBUG1,
|
||||
"LogicalRepSyncTableStart: '%s' origin_startpos lsn %X/%X",
|
||||
originname,
|
||||
(uint32) (*origin_startpos >> 32),
|
||||
(uint32) *origin_startpos);
|
||||
originname, LSN_FORMAT_ARGS(*origin_startpos));
|
||||
|
||||
/*
|
||||
* We are done with the initial data synchronization, update the state.
|
||||
|
Reference in New Issue
Block a user