Fix incorrect message in ATWrongRelkindError.

Mistake introduced by commit 3bf3ab8c56.

Etsuro Fujita
This commit is contained in:
Robert Haas 2015-10-28 11:44:47 +01:00
parent dbe6f434ee
commit 9dcce7123e
1 changed files with 1 additions and 1 deletions

View File

@ -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");