Revert most of 39b66a91bd
authorTomas Vondra <tomas.vondra@postgresql.org>
Wed, 2 Jun 2021 22:06:42 +0000 (00:06 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Wed, 2 Jun 2021 22:13:59 +0000 (00:13 +0200)
commit8e03eb92e9ad54e2f1ed8b5a73617601f6262f81
tree72dd9a3b9f3e4b86af5c1e33fd4e661f8b1dc6ce
parent889592344c48d3965567f331b4ea89dfe6447bce
Revert most of 39b66a91bd

Reverts most of commit 39b66a91bd, which was found to cause significant
regression for REFRESH MATERIALIZED VIEW. This means only rows inserted
by heap_multi_insert will benefit from the optimization, implemented in
commit 7db0cd2145.

Reported-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoA%3D%3Df2VSw3c-Cp_y%3DWLKHMKc1D6s7g3YWsCOvgaYPpJcg%40mail.gmail.com
src/backend/access/heap/heapam.c
src/backend/access/heap/hio.c