aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2013-07-05 15:25:51 -0400
committerNoah Misch <noah@leadboat.com>2013-07-05 15:26:46 -0400
commitcf183732d2b2bda2f6fd927481f787ecb1f054fa (patch)
tree46b2c735eb67261eabb2b8a475b5099cd674faf0 /src/backend/parser/parse_utilcmd.c
parent462b562ab294dc15d6a578ebf424020f0a54e835 (diff)
downloadpostgresql-cf183732d2b2bda2f6fd927481f787ecb1f054fa.tar.gz
postgresql-cf183732d2b2bda2f6fd927481f787ecb1f054fa.zip
Update messages, comments and documentation for materialized views.
All instances of the verbiage lagging the code. Back-patch to 9.3, where materialized views were introduced.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
-rw-r--r--src/backend/parser/parse_utilcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c
index b426a453242..175eff2bd01 100644
--- a/src/backend/parser/parse_utilcmd.c
+++ b/src/backend/parser/parse_utilcmd.c
@@ -690,7 +690,7 @@ transformTableLikeClause(CreateStmtContext *cxt, TableLikeClause *table_like_cla
relation->rd_rel->relkind != RELKIND_FOREIGN_TABLE)
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
- errmsg("\"%s\" is not a table, view, composite type, or foreign table",
+ errmsg("\"%s\" is not a table, view, materialized view, composite type, or foreign table",
RelationGetRelationName(relation))));
cancel_parser_errposition_callback(&pcbstate);