projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa17165
)
Fix incorrect message in ATWrongRelkindError.
author
Robert Haas
<rhaas@postgresql.org>
Wed, 28 Oct 2015 10:44:47 +0000
(11:44 +0100)
committer
Robert Haas
<rhaas@postgresql.org>
Wed, 28 Oct 2015 10:52:31 +0000
(11:52 +0100)
Mistake introduced by commit
3bf3ab8c563699138be02f9dc305b7b77a724307
.
Etsuro Fujita
src/backend/commands/tablecmds.c
patch
|
blob
|
history
diff --git
a/src/backend/commands/tablecmds.c
b/src/backend/commands/tablecmds.c
index 5321b5f4781e23d90d2290ad1315d671d1ab8050..75bdf7ba0c45171e9ecd15754f11f03734999616 100644
(file)
--- a/
src/backend/commands/tablecmds.c
+++ b/
src/backend/commands/tablecmds.c
@@
-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");