From a0ed19e0a9efe93b3b83d6e3fe8f77656be253a2 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 29 Mar 2025 10:30:08 +0100 Subject: Use PRI?64 instead of "ll?" in format strings (continued). Continuation of work started in commit 15a79c73, after initial trial. Author: Thomas Munro Discussion: https://postgr.es/m/b936d2fb-590d-49c3-a615-92c3a88c6c19%40eisentraut.org --- src/backend/replication/slot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/replication/slot.c') diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 646ba2a78fa..600b87fa9cb 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -1544,11 +1544,11 @@ ReportSlotInvalidation(ReplicationSlotInvalidationCause cause, { case RS_INVAL_WAL_REMOVED: { - unsigned long long ex = oldestLSN - restart_lsn; + uint64 ex = oldestLSN - restart_lsn; appendStringInfo(&err_detail, - ngettext("The slot's restart_lsn %X/%X exceeds the limit by %llu byte.", - "The slot's restart_lsn %X/%X exceeds the limit by %llu bytes.", + ngettext("The slot's restart_lsn %X/%X exceeds the limit by %" PRIu64 " byte.", + "The slot's restart_lsn %X/%X exceeds the limit by %" PRIu64 " bytes.", ex), LSN_FORMAT_ARGS(restart_lsn), ex); -- cgit v1.2.3