mirror of https://github.com/citusdata/citus.git
Address reviews
parent
7f7fd482fc
commit
6d4f70363e
|
@ -689,8 +689,8 @@ GenerateBackupNameForSequenceCollision(const ObjectAddress *address)
|
|||
strncpy_s(newName + baseLength, NAMEDATALEN - baseLength, suffix,
|
||||
suffixLength);
|
||||
|
||||
Oid typeOid = get_relname_relid(newName, schemaId);
|
||||
if (typeOid == InvalidOid)
|
||||
Oid newRelationId = get_relname_relid(newName, schemaId);
|
||||
if (newRelationId == InvalidOid)
|
||||
{
|
||||
return newName;
|
||||
}
|
||||
|
|
|
@ -706,7 +706,6 @@ SupportedDependencyByCitus(const ObjectAddress *address)
|
|||
/*
|
||||
* IsTableOwnedByExtension returns whether the table with the given relation ID is
|
||||
* owned by an extension.
|
||||
* TODO: Check what if the extension is not distributed?
|
||||
*/
|
||||
bool
|
||||
IsTableOwnedByExtension(Oid relationId)
|
||||
|
|
Loading…
Reference in New Issue