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

Commit8505237

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 parent6d8186f commit8505237

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/backend/commands/matview.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,7 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
144144
errmsg("\"%s\" is not a materialized view",
145145
RelationGetRelationName(matviewRel))));
146146

147-
/*
148-
* We're not using materialized views in the system catalogs.
149-
*/
150-
Assert(!IsSystemRelation(matviewRel));
151-
147+
/* We don't allow an oid column for a materialized view. */
152148
Assert(!matviewRel->rd_rel->relhasoids);
153149

154150
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp