mirror of https://github.com/citusdata/citus.git
Use %u instead of %i for naming subscriptions & roles
parent
bc3383170e
commit
e37c4af1bb
|
@ -1231,7 +1231,7 @@ ReplicationSlotNameForNodeAndOwnerForOperation(LogicalRepType type, uint32_t nod
|
|||
char *
|
||||
SubscriptionName(LogicalRepType type, Oid ownerId)
|
||||
{
|
||||
return psprintf("%s%i_%lu", subscriptionPrefix[type],
|
||||
return psprintf("%s%u_%lu", subscriptionPrefix[type],
|
||||
ownerId, CurrentOperationId);
|
||||
}
|
||||
|
||||
|
@ -1243,7 +1243,7 @@ SubscriptionName(LogicalRepType type, Oid ownerId)
|
|||
char *
|
||||
SubscriptionRoleName(LogicalRepType type, Oid ownerId)
|
||||
{
|
||||
return psprintf("%s%i_%lu", subscriptionRolePrefix[type], ownerId,
|
||||
return psprintf("%s%u_%lu", subscriptionRolePrefix[type], ownerId,
|
||||
CurrentOperationId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue