From: Kevin Grittner Date: Sun, 18 Aug 2013 21:24:59 +0000 (-0500) Subject: Remove relcache entry invalidation in REFRESH MATERIALIZED VIEW. X-Git-Tag: REL9_3_RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a91ea7a000295a7898f96cad6f0c3c288d41039;p=postgresql 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. --- diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c index ce7e427c91..d3195fc62e 100644 --- a/src/backend/commands/matview.c +++ b/src/backend/commands/matview.c @@ -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);