Commit f3d23d8
committed
Initialize SLRU stats entries to zero.
Previously since SLRUStats was not initialized, SLRU stats counters
could begin with non-zero value. Which could lead to incorrect results
in pg_stat_slru view.
Author: Fujii Masao
Reviewed-by: Tomas Vondra
Discussion: https://postgr.es/m/976bbb73-a112-de3c-c488-b34b64609793@oss.nttdata.com1 parent ac3a486 commit f3d23d8
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2900 | 2900 | | |
2901 | 2901 | | |
2902 | 2902 | | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
2903 | 2906 | | |
2904 | 2907 | | |
2905 | 2908 | | |
| |||
0 commit comments