Content-Length: 259952 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e2cd368678e6bcf95d0f66c12e470d163b7a27b6

0A Remove Assert that matview is not in system schema from REFRESH. · postgrespro/postgres_cluster@e2cd368 · GitHub
Skip to content

Commit e2cd368

Browse files
committed
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.
1 parent 5e3e8e4 commit e2cd368

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/backend/commands/matview.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
178178
(errcode(ERRCODE_SYNTAX_ERROR),
179179
errmsg("CONCURRENTLY and WITH NO DATA options cannot be used together")));
180180

181-
/* We're not using materialized views in the system catalogs. */
182-
Assert(!IsSystemRelation(matviewRel));
183-
184181
/* We don't allow an oid column for a materialized view. */
185182
Assert(!matviewRel->rd_rel->relhasoids);
186183

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e2cd368678e6bcf95d0f66c12e470d163b7a27b6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy