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:47:19 +0100
commit9dcce7123e1b0012fcf7f8b8761b34aebb66986d (patch)
treeb4ad62356fde00e0950f68b5300c68657c15ca95 /src
parentdbe6f434ee1852f08c011065467a6cfc5ce10864 (diff)
downloadpostgresql-9dcce7123e1b0012fcf7f8b8761b34aebb66986d.tar.gz
postgresql-9dcce7123e1b0012fcf7f8b8761b34aebb66986d.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 a5bc508e15d..6436d0cc04b 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -4358,7 +4358,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");