diff options
author | Noah Misch <noah@leadboat.com> | 2013-07-05 15:25:51 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2013-07-05 15:37:51 -0400 |
commit | 02d2b694ee42a9e241d37ce67df122fff43d5bb9 (patch) | |
tree | eaf287ab19600a27a1c1304d108241326d6e3e3d /src/backend/commands/indexcmds.c | |
parent | 269e780822abb2e44189afaccd6b0ee7aefa7ddd (diff) | |
download | postgresql-02d2b694ee42a9e241d37ce67df122fff43d5bb9.tar.gz postgresql-02d2b694ee42a9e241d37ce67df122fff43d5bb9.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/commands/indexcmds.c')
-rw-r--r-- | src/backend/commands/indexcmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 9d9745e714f..ec8f248eea6 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -372,7 +372,7 @@ DefineIndex(IndexStmt *stmt, else ereport(ERROR, (errcode(ERRCODE_WRONG_OBJECT_TYPE), - errmsg("\"%s\" is not a table", + errmsg("\"%s\" is not a table or materialized view", RelationGetRelationName(rel)))); } @@ -1834,8 +1834,8 @@ ReindexDatabase(const char *databaseName, bool do_system, bool do_user) /* * Scan pg_class to build a list of the relations we need to reindex. * - * We only consider plain relations here (toast rels will be processed - * indirectly by reindex_relation). + * We only consider plain relations and materialized views here (toast + * rels will be processed indirectly by reindex_relation). */ relationRelation = heap_open(RelationRelationId, AccessShareLock); scan = heap_beginscan_catalog(relationRelation, 0, NULL); |