diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2013-08-14 12:36:55 -0500 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2013-08-14 12:36:55 -0500 |
commit | e2cd368678e6bcf95d0f66c12e470d163b7a27b6 (patch) | |
tree | e5245e65ed31b340c53f2801e664ea34757a9c9c /src | |
parent | 5e3e8e4daaefba47ad7a8b82320531992470b5df (diff) | |
download | postgresql-e2cd368678e6bcf95d0f66c12e470d163b7a27b6.tar.gz postgresql-e2cd368678e6bcf95d0f66c12e470d163b7a27b6.zip |
Remove Assert that matview is not in system schema from REFRESH.
We don't want to prevent an extension which creates a matview from
being installed in pg_catalog.
Issue was raised by Hitoshi Harada.
Backpatched to 9.3.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/matview.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c index 5d0e3779c52..8ca4afca60c 100644 --- a/src/backend/commands/matview.c +++ b/src/backend/commands/matview.c @@ -178,9 +178,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, (errcode(ERRCODE_SYNTAX_ERROR), errmsg("CONCURRENTLY and WITH NO DATA options cannot be used together"))); - /* 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); |