issue/6694
Gokhan Gulbiz 2023-03-29 10:15:09 +03:00
parent d38f9cb9d6
commit 9afadc0af8
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
2 changed files with 7 additions and 7 deletions

View File

@ -1153,7 +1153,6 @@ DropIdentitiesOnTable(Oid relationId)
dropCommandList = lappend(dropCommandList, dropCommand->data);
}
}
relation_close(relation, NoLock);
@ -1162,12 +1161,12 @@ DropIdentitiesOnTable(Oid relationId)
foreach_ptr(dropCommand, dropCommandList)
{
/*
* We need to disable/enable ddl propagation for this command, to prevent
* sending unnecessary ALTER COLUMN commands for partitions, to MX workers.
*/
* We need to disable/enable ddl propagation for this command, to prevent
* sending unnecessary ALTER COLUMN commands for partitions, to MX workers.
*/
ExecuteAndLogUtilityCommandList(list_make3(DISABLE_DDL_PROPAGATION,
dropCommand,
ENABLE_DDL_PROPAGATION));
dropCommand,
ENABLE_DDL_PROPAGATION));
}
}

View File

@ -3996,7 +3996,8 @@ ErrorIfTableHasUnsupportedIdentityColumn(Oid relationId)
char *qualifiedRelationName = generate_qualified_relation_name(relationId);
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg(
"cannot complete operation on %s with smallint/int identity column", qualifiedRelationName),
"cannot complete operation on %s with smallint/int identity column",
qualifiedRelationName),
errhint(
"Use bigint identity column instead.")));
}