Fix pg_visibility regression failure with CLOBBER_CACHE_ALWAYS
Tomas Vondra <tomas.vondra@postgresql.org>
Fix pg_visibility regression failure with CLOBBER_CACHE_ALWAYS Commit 8e03eb92e9 reverted a bit too much code, reintroducing one of the issues fixed by 39b66a91bd - a page might have been left partially empty after relcache invalidation. Reported-By: Tom Lane Author: Masahiko Sawada Discussion: https://postgr.es/m/822752.1623032114@sss.pgh.pa.us Discussion: https://postgr.es/m/CAD21AoA%3D%3Df2VSw3c-Cp_y%3DWLKHMKc1D6s7g3YWsCOvgaYPpJcg%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/hio.c | modified | +11 −11 |
Discussion
- contrib/pg_visibility fails regression under CLOBBER_CACHE_ALWAYS 5 messages · 2021-06-07 → 2021-06-14
- Performance degradation of REFRESH MATERIALIZED VIEW 60 messages · 2021-03-11 → 2021-06-04