Fix the incorrect format specifier used in commit 7a424ece48.
authorAmit Kapila <akapila@postgresql.org>
Fri, 16 Feb 2024 06:04:11 +0000 (11:34 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 16 Feb 2024 06:04:11 +0000 (11:34 +0530)
Author: Hou Zhijie
Discussion: https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.com
Discussion: https://postgr.es/m/OS0PR01MB5716CB015BAD807B29BC55BE944C2@OS0PR01MB5716.jpnprd01.prod.outlook.com

src/backend/replication/logical/slotsync.c

index f1542ef0e96ef78163bd79f849a6f0666cac9ee9..4cab7b71011042c37f0ff6864a2d6d0de0c5735b 100644 (file)
@@ -321,7 +321,7 @@ reserve_wal_for_local_slot(XLogRecPtr restart_lsn)
                        oldest_segno = XLogGetOldestSegno(cur_timeline);
                }
 
-               elog(DEBUG1, "segno: %ld of purposed restart_lsn for the synced slot, oldest_segno: %ld available",
+               elog(DEBUG1, "segno: " UINT64_FORMAT " of purposed restart_lsn for the synced slot, oldest_segno: " UINT64_FORMAT " available",
                         segno, oldest_segno);
 
                /*