mirror of https://github.com/citusdata/citus.git
Use %u instead of %i for naming subscriptions & roles
(cherry picked from commit e37c4af1bb
)
release-11.1-backport-ahmet
parent
8e0ce65d6d
commit
57dc187e53
|
@ -1411,7 +1411,7 @@ ReplicationSlotNameForNodeAndOwner(LogicalRepType type, uint32_t nodeId, Oid own
|
||||||
char *
|
char *
|
||||||
SubscriptionName(LogicalRepType type, Oid ownerId)
|
SubscriptionName(LogicalRepType type, Oid ownerId)
|
||||||
{
|
{
|
||||||
return psprintf("%s%i", subscriptionPrefix[type], ownerId);
|
return psprintf("%s%u", subscriptionPrefix[type], ownerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1422,7 +1422,7 @@ SubscriptionName(LogicalRepType type, Oid ownerId)
|
||||||
char *
|
char *
|
||||||
SubscriptionRoleName(LogicalRepType type, Oid ownerId)
|
SubscriptionRoleName(LogicalRepType type, Oid ownerId)
|
||||||
{
|
{
|
||||||
return psprintf("%s%i", subscriptionRolePrefix[type], ownerId);
|
return psprintf("%s%u", subscriptionRolePrefix[type], ownerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue