Skip to content
Snippets Groups Projects
Commit 28154bb2 authored by Kevin Grittner's avatar Kevin Grittner
Browse files

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.
parent fe885c6e
No related branches found
No related tags found
No related merge requests found
...@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap) ...@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap)
{ {
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true, finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
RecentXmin, ReadNextMultiXactId()); RecentXmin, ReadNextMultiXactId());
RelationCacheInvalidateEntry(matviewOid);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment