diff options
author | Andres Freund <andres@anarazel.de> | 2023-03-07 10:03:42 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2023-03-07 10:08:38 -0800 |
commit | 1be0fdb9de559ce8daf6d5603f0329cbd056111a (patch) | |
tree | a977eda4ead980f985d9d62e2276513e2318345a /src/backend/utils/adt/dbsize.c | |
parent | e20b1ea1575cb523821d51e9934d8d6dab835335 (diff) | |
download | postgresql-1be0fdb9de559ce8daf6d5603f0329cbd056111a.tar.gz postgresql-1be0fdb9de559ce8daf6d5603f0329cbd056111a.zip |
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
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions