diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-10-28 11:44:47 +0100 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-10-28 11:54:30 +0100 |
commit | 71b1a0ab5f6b2f0fe87b4cb0f610508786731b6b (patch) | |
tree | 7633168161a8cfaf90e32096c802180a6275a176 /src | |
parent | 7cecabca8fdc0ced666369a37b45df3182886230 (diff) |
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8c563699138be02f9dc305b7b77a724307.
Etsuro Fujita
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 90aa786de6f..c3446ce72d2 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -4034,7 +4034,7 @@ ATWrongRelkindError(Relation rel, int allowed_targets) msg = _("\"%s\" is not a table, composite type, or foreign table"); break; case ATT_TABLE | ATT_MATVIEW | ATT_INDEX | ATT_FOREIGN_TABLE: - msg = _("\"%s\" is not a table, materialized view, composite type, or foreign table"); + msg = _("\"%s\" is not a table, materialized view, index, or foreign table"); break; case ATT_VIEW: msg = _("\"%s\" is not a view"); |