diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index 3f3e5941bce..f1f44d41eff 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -456,7 +456,7 @@ drop_local_obsolete_slots(List *remote_slot_list) 0, AccessShareLock); ereport(LOG, - errmsg("dropped replication slot \"%s\" of dbid %d", + errmsg("dropped replication slot \"%s\" of dbid %u", NameStr(local_slot->data.name), local_slot->data.database)); }