8000 Fix incorrect message in ATWrongRelkindError. · home201448/postgres@71b1a0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 71b1a0a

Browse files
committed
Fix incorrect message in ATWrongRelkindError.
Mistake introduced by commit 3bf3ab8. Etsuro Fujita
1 parent 7cecabc commit 71b1a0a

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
@@ -4034,7 +4034,7 @@ ATWrongRelkindError(Relation rel, int allowed_targets)
40344034
msg = _("\"%s\" is not a table, composite type, or foreign table");
40354035
break;
40364036
case ATT_TABLE | ATT_MATVIEW | ATT_INDEX | ATT_FOREIGN_TABLE:
4037-
msg = _("\"%s\" is not a table, materialized view, composite type, or foreign table");
4037+
msg = _("\"%s\" is not a table, materialized view, index, or foreign table");
40384038
break;
40394039
case ATT_VIEW:
40404040
msg = _("\"%s\" is not a view");

0 commit comments

Comments
 (0)
0