mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Message style tweaks
This commit is contained in:
@ -6924,7 +6924,8 @@ ATPrepAlterColumnType(List **wqueue,
|
||||
else if (transform)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("ALTER TYPE USING is only supported on plain tables")));
|
||||
errmsg("\"%s\" is not a table",
|
||||
RelationGetRelationName(rel))));
|
||||
|
||||
if (tab->relkind == RELKIND_COMPOSITE_TYPE ||
|
||||
tab->relkind == RELKIND_FOREIGN_TABLE)
|
||||
|
Reference in New Issue
Block a user