postgres.git / summary / log / commit / refs
commit e53e2a196887a60481bd0bb1b316062027c5f24d
Author: Robert Haas <rhaas@postgresql.org>
Date: Wed Oct 28 10:44:47 2015 +0000
First released in: 9.6.0, 9.3.11, 9.4.6, 9.5.0
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8c563699138be02f9dc305b7b77a724307.
Etsuro Fujita
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");
[parent: c56949168cc0]