projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c569491
)
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:49:55 +0000
(11:49 +0100)
Mistake introduced by commit
3bf3ab8c563699138be02f9dc305b7b77a724307
.
Etsuro Fujita
src/backend/commands/tablecmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/tablecmds.c
b/src/backend/commands/tablecmds.c
index f359a9098e73488ef080f4b36c2684ef4d2e1547..f4a45995062d2915ecc6c9a0cf3c4c35aa8c5a9e 100644
(file)
--- a/
src/backend/commands/tablecmds.c
+++ b/
src/backend/commands/tablecmds.c
@@
-4361,7
+4361,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");