@@ -364,7 +364,7 @@ replorigin_drop_guts(Relation rel, RepOriginId roident, bool nowait)
364
364
if (nowait )
365
365
ereport (ERROR ,
366
366
(errcode (ERRCODE_OBJECT_IN_USE ),
367
- errmsg ("could not drop replication origin with ID %u , in use by PID %d" ,
367
+ errmsg ("could not drop replication origin with ID %d , in use by PID %d" ,
368
368
state -> roident ,
369
369
state -> acquired_by )));
370
370
@@ -408,7 +408,7 @@ replorigin_drop_guts(Relation rel, RepOriginId roident, bool nowait)
408
408
*/
409
409
tuple = SearchSysCache1 (REPLORIGIDENT , ObjectIdGetDatum (roident ));
410
410
if (!HeapTupleIsValid (tuple ))
411
- elog (ERROR , "cache lookup failed for replication origin with ID %u " ,
411
+ elog (ERROR , "cache lookup failed for replication origin with ID %d " ,
412
412
roident );
413
413
414
414
CatalogTupleDelete (rel , & tuple -> t_self );
@@ -485,7 +485,7 @@ replorigin_by_oid(RepOriginId roident, bool missing_ok, char **roname)
485
485
if (!missing_ok )
486
486
ereport (ERROR ,
487
487
(errcode (ERRCODE_UNDEFINED_OBJECT ),
488
- errmsg ("replication origin with ID %u does not exist" ,
488
+ errmsg ("replication origin with ID %d does not exist" ,
489
489
roident )));
490
490
491
491
return false;
@@ -799,7 +799,7 @@ StartupReplicationOrigin(void)
799
799
last_state ++ ;
800
800
801
801
ereport (LOG ,
802
- (errmsg ("recovered replication state of node %u to %X/%X" ,
802
+ (errmsg ("recovered replication state of node %d to %X/%X" ,
803
803
disk_state .roident ,
804
804
LSN_FORMAT_ARGS (disk_state .remote_lsn ))));
805
805
}
@@ -937,7 +937,7 @@ replorigin_advance(RepOriginId node,
937
937
{
938
938
ereport (ERROR ,
939
939
(errcode (ERRCODE_OBJECT_IN_USE ),
940
- errmsg ("replication origin with ID %u is already active for PID %d" ,
940
+ errmsg ("replication origin with ID %d is already active for PID %d" ,
941
941
replication_state -> roident ,
942
942
replication_state -> acquired_by )));
943
943
}
@@ -948,7 +948,7 @@ replorigin_advance(RepOriginId node,
948
948
if (replication_state == NULL && free_state == NULL )
949
949
ereport (ERROR ,
950
950
(errcode (ERRCODE_CONFIGURATION_LIMIT_EXCEEDED ),
951
- errmsg ("could not find free replication state slot for replication origin with ID %u " ,
951
+ errmsg ("could not find free replication state slot for replication origin with ID %d " ,
952
952
node ),
953
953
errhint ("Increase max_replication_slots and try again." )));
954
954
@@ -1126,7 +1126,7 @@ replorigin_session_setup(RepOriginId node)
1126
1126
{
1127
1127
ereport (ERROR ,
1128
1128
(errcode (ERRCODE_OBJECT_IN_USE ),
1129
- errmsg ("replication origin with ID %u is already active for PID %d" ,
1129
+ errmsg ("replication origin with ID %d is already active for PID %d" ,
1130
1130
curstate -> roident , curstate -> acquired_by )));
1131
1131
}
1132
1132
@@ -1138,7 +1138,7 @@ replorigin_session_setup(RepOriginId node)
1138
1138
if (session_replication_state == NULL && free_slot == -1 )
1139
1139
ereport (ERROR ,
1140
1140
(errcode (ERRCODE_CONFIGURATION_LIMIT_EXCEEDED ),
1141
- errmsg ("could not find free replication state slot for replication origin with ID %u " ,
1141
+ errmsg ("could not find free replication state slot for replication origin with ID %d " ,
1142
1142
node ),
1143
1143
errhint ("Increase max_replication_slots and try again." )));
1144
1144
else if (session_replication_state == NULL )
0 commit comments