Skip to content

Commit e53e2a1

Browse files
committed
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8. Etsuro Fujita
1 parent c569491 commit e53e2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4361,7 +4361,7 @@ ATWrongRelkindError(Relation rel, int allowed_targets)
43614361
msg = _("\"%s\" is not a table, composite type, or foreign table");
43624362
break;
43634363
case ATT_TABLE | ATT_MATVIEW | ATT_INDEX | ATT_FOREIGN_TABLE:
4364-
msg = _("\"%s\" is not a table, materialized view, composite type, or foreign table");
4364+
msg = _("\"%s\" is not a table, materialized view, index, or foreign table");
43654365
break;
43664366
case ATT_VIEW:
43674367
msg = _("\"%s\" is not a view");

0 commit comments

Comments
 (0)