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 *
|
char *
|
||||||
SubscriptionName(LogicalRepType type, Oid ownerId)
|
SubscriptionName(LogicalRepType type, Oid ownerId)
|
||||||
{
|
{
|
||||||
return psprintf("%s%i_%lu", subscriptionPrefix[type],
|
return psprintf("%s%u_%lu", subscriptionPrefix[type],
|
||||||
ownerId, CurrentOperationId);
|
ownerId, CurrentOperationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1243,7 +1243,7 @@ SubscriptionName(LogicalRepType type, Oid ownerId)
|
||||||
char *
|
char *
|
||||||
SubscriptionRoleName(LogicalRepType type, Oid ownerId)
|
SubscriptionRoleName(LogicalRepType type, Oid ownerId)
|
||||||
{
|
{
|
||||||
return psprintf("%s%i_%lu", subscriptionRolePrefix[type], ownerId,
|
return psprintf("%s%u_%lu", subscriptionRolePrefix[type], ownerId,
|
||||||
CurrentOperationId);
|
CurrentOperationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue