1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

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 fa171654f2
commit 589017eb5d

View File

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