Fix incorrect format placeholders
authorPeter Eisentraut <[email protected]>
Wed, 27 Dec 2023 16:39:10 +0000 (17:39 +0100)
committerPeter Eisentraut <[email protected]>
Wed, 27 Dec 2023 16:39:10 +0000 (17:39 +0100)
src/backend/replication/syncrep.c

index 0ea71b5c4348e423d256b8a44d640a40467c488f..88f8958d37462095c26e8ba9c9e42828f624844c 100644 (file)
@@ -416,7 +416,7 @@ SyncRepInitConfig(void)
        SpinLockRelease(&MyWalSnd->mutex);
 
        ereport(DEBUG1,
-               (errmsg_internal("standby \"%s\" now has synchronous standby priority %u",
+               (errmsg_internal("standby \"%s\" now has synchronous standby priority %d",
                                 application_name, priority)));
    }
 }
@@ -483,7 +483,7 @@ SyncRepReleaseWaiters(void)
 
        if (SyncRepConfig->syncrep_method == SYNC_REP_PRIORITY)
            ereport(LOG,
-                   (errmsg("standby \"%s\" is now a synchronous standby with priority %u",
+                   (errmsg("standby \"%s\" is now a synchronous standby with priority %d",
                            application_name, MyWalSnd->sync_standby_priority)));
        else
            ereport(LOG,