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 7cecabca8f
commit 71b1a0ab5f

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