diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-05 00:01:35 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-05 00:17:25 +0300 |
commit | 06f04b6dc41354d1eada7b68bab339c908fc97eb (patch) | |
tree | 9d7730ebcc5cd83599dc598863fcadb0292e6f81 /src/backend/commands/tablecmds.c | |
parent | 413ed2556f7ea21aa7c9d6fe28225455f0e5eac3 (diff) |
Message style tweaks
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 029d33a223d..142419f2cca 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -6751,7 +6751,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) |