projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cecabc
)
Fix incorrect message in ATWrongRelkindError.
author
Robert Haas
Wed, 28 Oct 2015 10:44:47 +0000
(11:44 +0100)
committer
Robert Haas
Wed, 28 Oct 2015 10:54:30 +0000
(11:54 +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 90aa786de6f5b66a2a270bce95d3ebc51b11aed5..c3446ce72d2eb9841ec4302072749de7653e1753 100644
(file)
--- a/
src/backend/commands/tablecmds.c
+++ b/
src/backend/commands/tablecmds.c
@@
-4034,7
+4034,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");