]> granicus.if.org Git - postgresql/commitdiff
Fix incorrect message in ATWrongRelkindError.
authorRobert Haas <rhaas@postgresql.org>
Wed, 28 Oct 2015 10:44:47 +0000 (11:44 +0100)
committerRobert Haas <rhaas@postgresql.org>
Wed, 28 Oct 2015 10:54:30 +0000 (11:54 +0100)
Mistake introduced by commit 3bf3ab8c563699138be02f9dc305b7b77a724307.

Etsuro Fujita

src/backend/commands/tablecmds.c

index 90aa786de6f5b66a2a270bce95d3ebc51b11aed5..c3446ce72d2eb9841ec4302072749de7653e1753 100644 (file)
@@ -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");