mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +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:
parent
fe885c6e36
commit
28154bb23b
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user