Remove relcache entry invalidation in REFRESH MATERIALIZED VIEW.
authorKevin Grittner <[email protected]>
Sun, 18 Aug 2013 21:19:22 +0000 (16:19 -0500)
committerKevin Grittner <[email protected]>
Sun, 18 Aug 2013 21:19:22 +0000 (16:19 -0500)
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.

src/backend/commands/matview.c

index 8ca4afca60c1b3629b28e9f2bce487d67a701544..238ccc72f5205ae00a15e6e17f384addfa445552 100644 (file)
@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap)
 {
        finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
                                         RecentXmin, ReadNextMultiXactId());
-
-       RelationCacheInvalidateEntry(matviewOid);
 }