Skip to content

Commit 9dcce71

Browse files
committed
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8. Etsuro Fujita
1 parent dbe6f43 commit 9dcce71

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
@@ -4358,7 +4358,7 @@ ATWrongRelkindError(Relation rel, int allowed_targets)
43584358
msg = _("\"%s\" is not a table, composite type, or foreign table");
43594359
break;
43604360
case ATT_TABLE | ATT_MATVIEW | ATT_INDEX | ATT_FOREIGN_TABLE:
4361-
msg = _("\"%s\" is not a table, materialized view, composite type, or foreign table");
4361+
msg = _("\"%s\" is not a table, materialized view, index, or foreign table");
43624362
break;
43634363
case ATT_VIEW:
43644364
msg = _("\"%s\" is not a view");

0 commit comments

Comments
 (0)