mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
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:
@ -225,8 +225,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
|||||||
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
|
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
|
||||||
RecentXmin, ReadNextMultiXactId());
|
RecentXmin, ReadNextMultiXactId());
|
||||||
|
|
||||||
RelationCacheInvalidateEntry(matviewOid);
|
|
||||||
|
|
||||||
/* Roll back any GUC changes */
|
/* Roll back any GUC changes */
|
||||||
AtEOXact_GUC(false, save_nestlevel);
|
AtEOXact_GUC(false, save_nestlevel);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user