Fix flakey pg_stat_io test
Andres Freund <andres@anarazel.de>
Fix flakey pg_stat_io test Wrap test of pg_stat_io's tracking of shared buffer reads in a transaction to prevent concurrent accesses (e.g. by autovacuum) causing spurious test failures. Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Author: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://www.postgresql.org/message-id/20230306190919.ai6mxdq3sygyyths%40awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/stats.out | modified | +4 −0 |
| src/test/regress/sql/stats.sql | modified | +4 −0 |
Discussion
- pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?) 173 messages · 2020-01-24 → 2023-04-25