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:52:31 +0100 |
commit | 589017eb5d3d447118641cf5d46b58e1d3ff0387 (patch) | |
tree | ef15848a3171ad21b52c5d984faadd5eb256d5fd | |
parent | fa171654f2733726f984bd22ef9eaee410dfce8d (diff) | |
download | postgresql-589017eb5d3d447118641cf5d46b58e1d3ff0387.tar.gz postgresql-589017eb5d3d447118641cf5d46b58e1d3ff0387.zip |
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8c563699138be02f9dc305b7b77a724307.
Etsuro Fujita
-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 5321b5f4781..75bdf7ba0c4 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -4148,7 +4148,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"); |