aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/commands/matview.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c
index 1c383baf687..ce7e427c911 100644
--- a/src/backend/commands/matview.c
+++ b/src/backend/commands/matview.c
@@ -144,11 +144,7 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
errmsg("\"%s\" is not a materialized view",
RelationGetRelationName(matviewRel))));
- /*
- * We're not using materialized views in the system catalogs.
- */
- Assert(!IsSystemRelation(matviewRel));
-
+ /* We don't allow an oid column for a materialized view. */
Assert(!matviewRel->rd_rel->relhasoids);
/*