forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit171d21f
committed
Fix stats_fetch_consistency with stats for fixed-numbered objects
This impacts the statistics retrieved in transactions for the followingviews when updating the value of stats_fetch_consistency, leading tobehaviors contrary to what is documented since6059946 as an updateof 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_walFor example, updating stats_fetch_consistency from "snapshot" to "cache"in a transaction did not re-fetch any fresh data, using data cached fromthe time when "snapshot" was in use.Author: Shinya KatoDiscussion:https://postgr.es/m/d77fc5190d4dbe1738d77231488e768b@oss.nttdata.comBackpatch-through: 151 parent41fa4b3 commit171d21f
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
918 | 918 |
| |
919 | 919 |
| |
920 | 920 |
| |
| 921 | + | |
| 922 | + | |
| 923 | + | |
921 | 924 |
| |
922 | 925 |
| |
923 | 926 |
| |
|
0 commit comments
Comments
(0)