Skip to content

Commit 589017e

Browse files
committed
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8. Etsuro Fujita
1 parent fa17165 commit 589017e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/tablecmds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4148,7 +4148,7 @@ ATWrongRelkindError(Relation rel, int allowed_targets)
41484148
msg = _("\"%s\" is not a table, composite type, or foreign table");
41494149
break;
41504150
case ATT_TABLE | ATT_MATVIEW | ATT_INDEX | ATT_FOREIGN_TABLE:
4151-
msg = _("\"%s\" is not a table, materialized view, composite type, or foreign table");
4151+
msg = _("\"%s\" is not a table, materialized view, index, or foreign table");
41524152
break;
41534153
case ATT_VIEW:
41544154
msg = _("\"%s\" is not a view");

0 commit comments

Comments
 (0)