diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-02-26 07:16:31 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-02-26 07:16:31 +0100 |
commit | 025f0a6f9113efe89bb65b9efe0cb96a5d7c7ad1 (patch) | |
tree | b17f120152bea36e2f9f5899fbe79bc8c953ee3b /src/backend/backup/basebackup_incremental.c | |
parent | f5a465f1a07474f380b54073a518602b342a188b (diff) | |
download | postgresql-025f0a6f9113efe89bb65b9efe0cb96a5d7c7ad1.tar.gz postgresql-025f0a6f9113efe89bb65b9efe0cb96a5d7c7ad1.zip |
Fix incorrect format placeholder
Not only did the format placeholder not match the variable, the
variable also didn't match the function it was getting its value from.
Diffstat (limited to 'src/backend/backup/basebackup_incremental.c')
-rw-r--r-- | src/backend/backup/basebackup_incremental.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/backup/basebackup_incremental.c b/src/backend/backup/basebackup_incremental.c index e994ee66bbf..99562d94323 100644 --- a/src/backend/backup/basebackup_incremental.c +++ b/src/backend/backup/basebackup_incremental.c @@ -428,7 +428,7 @@ PrepareForIncrementalBackup(IncrementalBackupInfo *ib, while (1) { long timeout_in_ms = 10000; - unsigned elapsed_seconds; + long elapsed_seconds; /* * Align the wait time to prevent drift. This doesn't really matter, @@ -493,7 +493,7 @@ PrepareForIncrementalBackup(IncrementalBackupInfo *ib, TimestampDifferenceMilliseconds(initial_time, current_time) / 1000; ereport(WARNING, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), - errmsg("still waiting for WAL summarization through %X/%X after %d seconds", + errmsg("still waiting for WAL summarization through %X/%X after %ld seconds", LSN_FORMAT_ARGS(backup_state->startpoint), elapsed_seconds), errdetail("Summarization has reached %X/%X on disk and %X/%X in memory.", |