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.
This commit is contained in:
Kevin Grittner 2013-08-18 16:24:59 -05:00
parent 7c8de5d3e5
commit 5a91ea7a00

View 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);