aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-10-28 11:44:47 +0100
committerRobert Haas <rhaas@postgresql.org>2015-10-28 11:49:55 +0100
commite53e2a196887a60481bd0bb1b316062027c5f24d (patch)
tree40943d5ebd3b71cd679294cc9b076cea4ef5209c /src
parentc56949168cc0aeac703865c3239f7bc7ca670402 (diff)
downloadpostgresql-e53e2a196887a60481bd0bb1b316062027c5f24d.tar.gz
postgresql-e53e2a196887a60481bd0bb1b316062027c5f24d.zip
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8c563699138be02f9dc305b7b77a724307. Etsuro Fujita
Diffstat (limited to 'src')
-rw-r--r--src/backend/commands/tablecmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index f359a9098e7..f4a45995062 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -4361,7 +4361,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");