if (nowait)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_IN_USE),
- errmsg("could not drop replication origin with ID %u, in use by PID %d",
+ errmsg("could not drop replication origin with ID %d, in use by PID %d",
state->roident,
state->acquired_by)));
*/
tuple = SearchSysCache1(REPLORIGIDENT, ObjectIdGetDatum(roident));
if (!HeapTupleIsValid(tuple))
- elog(ERROR, "cache lookup failed for replication origin with ID %u",
+ elog(ERROR, "cache lookup failed for replication origin with ID %d",
roident);
CatalogTupleDelete(rel, &tuple->t_self);
if (!missing_ok)
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_OBJECT),
- errmsg("replication origin with ID %u does not exist",
+ errmsg("replication origin with ID %d does not exist",
roident)));
return false;
last_state++;
ereport(LOG,
- (errmsg("recovered replication state of node %u to %X/%X",
+ (errmsg("recovered replication state of node %d to %X/%X",
disk_state.roident,
LSN_FORMAT_ARGS(disk_state.remote_lsn))));
}
{
ereport(ERROR,
(errcode(ERRCODE_OBJECT_IN_USE),
- errmsg("replication origin with ID %u is already active for PID %d",
+ errmsg("replication origin with ID %d is already active for PID %d",
replication_state->roident,
replication_state->acquired_by)));
}
if (replication_state == NULL && free_state == NULL)
ereport(ERROR,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
- errmsg("could not find free replication state slot for replication origin with ID %u",
+ errmsg("could not find free replication state slot for replication origin with ID %d",
node),
errhint("Increase max_replication_slots and try again.")));
{
ereport(ERROR,
(errcode(ERRCODE_OBJECT_IN_USE),
- errmsg("replication origin with ID %u is already active for PID %d",
+ errmsg("replication origin with ID %d is already active for PID %d",
curstate->roident, curstate->acquired_by)));
}
if (session_replication_state == NULL && free_slot == -1)
ereport(ERROR,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
- errmsg("could not find free replication state slot for replication origin with ID %u",
+ errmsg("could not find free replication state slot for replication origin with ID %d",
node),
errhint("Increase max_replication_slots and try again.")));
else if (session_replication_state == NULL)