aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-02-01 17:13:09 +0900
committerMichael Paquier <michael@paquier.xyz>2024-02-01 17:13:09 +0900
commit781bc121de897c235ae731ad9f58dfd4075a1008 (patch)
treeadff0cc44caa6a2406882934da646f65a1996fc5 /src/tutorial/funcs.c
parentf33e83285a1419bf083ec0a6913268d454ce22e9 (diff)
downloadpostgresql-781bc121de897c235ae731ad9f58dfd4075a1008.tar.gz
postgresql-781bc121de897c235ae731ad9f58dfd4075a1008.zip
Fix stats_fetch_consistency with stats for fixed-numbered objects
This impacts the statistics retrieved in transactions for the following views when updating the value of stats_fetch_consistency, leading to behaviors contrary to what is documented since 605994651b6a as an update of this parameter should discard all statistics snapshot data: - pg_stat_archiver - pg_stat_bgwriter - pg_stat_checkpointer - pg_stat_io - pg_stat_slru - pg_stat_wal For example, updating stats_fetch_consistency from "snapshot" to "cache" in a transaction did not re-fetch any fresh data, using data cached from the time when "snapshot" was in use. Author: Shinya Kato Discussion: https://postgr.es/m/d77fc5190d4dbe1738d77231488e768b@oss.nttdata.com Backpatch-through: 15
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions