Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 28154bb

Browse files
committed
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.
1 parent fe885c6 commit 28154bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/commands/matview.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,6 @@ refresh_by_heap_swap(Oid matviewOid, Oid OIDNewHeap)
764764
{
765765
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
766766
RecentXmin, ReadNextMultiXactId());
767-
768-
RelationCacheInvalidateEntry(matviewOid);
769767
}
770768

771769

0 commit comments

Comments
 (0)