8000 Remove relcache entry invalidation in REFRESH MATERIALIZED VIEW. · sqlparser/postgres@5a91ea7 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 5a91ea7

Browse files
committed
Remove relcache entry invalidation in REFRESH MATERIALIZED VIEW.
This was added as part of the attempt to support unlogged matviews along with a populated status. It got missed when unlogged support was removed pre-commit. Noticed by Noah Misch. Back-patched to 9.3 branch.
1 parent 7c8de5d commit 5a91ea7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/commands/matview.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
225225
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
226226
RecentXmin, ReadNextMultiXactId());
227227

228-
RelationCacheInvalidateEntry(matviewOid);
229-
230228
/* Roll back any GUC changes */
231229
AtEOXact_GUC(false, save_nestlevel);
232230

0 commit comments

Comments
 (0)
0