Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2cd368

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 frombeing installed in pg_catalog.Issue was raised by Hitoshi Harada.Backpatched to 9.3.
1 parent5e3e8e4 commite2cd368

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)

[8]ページ先頭

©2009-2025 Movatter.jp