提交 28154bb2 编写于 作者: K Kevin Grittner

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.
上级 fe885c6e
...@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap) ...@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap)
{ {
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true, finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
RecentXmin, ReadNextMultiXactId()); RecentXmin, ReadNextMultiXactId());
RelationCacheInvalidateEntry(matviewOid);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册