@@ -352,7 +352,7 @@ replorigin_drop_guts(Relation rel, RepOriginId roident, bool nowait)
352
352
if (nowait )
353
353
ereport (ERROR ,
354
354
(errcode (ERRCODE_OBJECT_IN_USE ),
355
- errmsg ("could not drop replication origin with ID %u , in use by PID %d" ,
355
+ errmsg ("could not drop replication origin with ID %d , in use by PID %d" ,
356
356
state -> roident ,
357
357
state -> acquired_by )));
358
358
@@ -396,7 +396,7 @@ replorigin_drop_guts(Relation rel, RepOriginId roident, bool nowait)
396
396
*/
397
397
tuple = SearchSysCache1 (REPLORIGIDENT , ObjectIdGetDatum (roident ));
398
398
if (!HeapTupleIsValid (tuple ))
399
- elog (ERROR , "cache lookup failed for replication origin with ID %u " ,
399
+ elog (ERROR , "cache lookup failed for replication origin with ID %d " ,
400
400
roident );
401
401
402
402
CatalogTupleDelete (rel , & tuple -> t_self );
@@ -473,7 +473,7 @@ replorigin_by_oid(RepOriginId roident, bool missing_ok, char **roname)
473
473
if (!missing_ok )
474
474
ereport (ERROR ,
475
475
(errcode (ERRCODE_UNDEFINED_OBJECT ),
476
- errmsg ("replication origin with ID %u does not exist" ,
476
+ errmsg ("replication origin with ID %d does not exist" ,
477
477
roident )));
478
478
479
479
return false;
@@ -787,7 +787,7 @@ StartupReplicationOrigin(void)
787
787
last_state ++ ;
788
788
789
789
ereport (LOG ,
790
- (errmsg ("recovered replication state of node %u to %X/%X" ,
790
+ (errmsg ("recovered replication state of node %d to %X/%X" ,
791
791
disk_state .roident ,
792
792
LSN_FORMAT_ARGS (disk_state .remote_lsn ))));
793
793
}
@@ -925,7 +925,7 @@ replorigin_advance(RepOriginId node,
925
925
{
926
926
ereport (ERROR ,
927
927
(errcode (ERRCODE_OBJECT_IN_USE ),
928
- errmsg ("replication origin with ID %u is already active for PID %d" ,
928
+ errmsg ("replication origin with ID %d is already active for PID %d" ,
929
929
replication_state -> roident ,
930
930
replication_state -> acquired_by )));
931
931
}
@@ -936,7 +936,7 @@ replorigin_advance(RepOriginId node,
936
936
if (replication_state == NULL && free_state == NULL )
937
937
ereport (ERROR ,
938
938
(errcode (ERRCODE_CONFIGURATION_LIMIT_EXCEEDED ),
939
- errmsg ("could not find free replication state slot for replication origin with ID %u " ,
939
+ errmsg ("could not find free replication state slot for replication origin with ID %d " ,
940
940
node ),
941
941
errhint ("Increase max_replication_slots and try again." )));
942
942
@@ -1114,7 +1114,7 @@ replorigin_session_setup(RepOriginId node)
1114
1114
{
1115
1115
ereport (ERROR ,
1116
1116
(errcode (ERRCODE_OBJECT_IN_USE ),
1117
- errmsg ("replication origin with ID %u is already active for PID %d" ,
1117
+ errmsg ("replication origin with ID %d is already active for PID %d" ,
1118
1118
curstate -> roident , curstate -> acquired_by )));
1119
1119
}
1120
1120
@@ -1126,7 +1126,7 @@ replorigin_session_setup(RepOriginId node)
1126
1126
if (session_replication_state == NULL && free_slot == -1 )
1127
1127
ereport (ERROR ,
1128
1128
(errcode (ERRCODE_CONFIGURATION_LIMIT_EXCEEDED ),
1129
- errmsg ("could not find free replication state slot for replication origin with ID %u " ,
1129
+ errmsg ("could not find free replication state slot for replication origin with ID %d " ,
1130
1130
node ),
1131
1131
errhint ("Increase max_replication_slots and try again." )));
1132
1132
else if (session_replication_state == NULL )
0 commit comments