]> granicus.if.org Git - postgresql/commitdiff
Remove relcache entry invalidation in REFRESH MATERIALIZED VIEW.
authorKevin Grittner <kgrittn@postgresql.org>
Sun, 18 Aug 2013 21:24:59 +0000 (16:24 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sun, 18 Aug 2013 21:24:59 +0000 (16:24 -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 ce7e427c911d88dc6476c493e4e684965360d6f2..d3195fc62e5a74741f49bda8fb2ad74bd7b40cf6 100644 (file)
@@ -225,8 +225,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
        finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
                                         RecentXmin, ReadNextMultiXactId());
 
-       RelationCacheInvalidateEntry(matviewOid);
-
        /* Roll back any GUC changes */
        AtEOXact_GUC(false, save_nestlevel);