Re: pg_stat_reset_slru(name) doesn't seem to work as documented

2020-05-02 Thread Atsushi Torikoshi
On Sat, May 2, 2020 at 11:05 PM Tomas Vondra wrote > Pushed. Thanks for the report. > Thanks! -- Atsushi Torikoshi

Re: pg_stat_reset_slru(name) doesn't seem to work as documented

2020-05-02 Thread Tomas Vondra
On Sat, May 02, 2020 at 02:27:33PM +0200, Tomas Vondra wrote: On Fri, May 01, 2020 at 07:10:23PM +0900, Atsushi Torikoshi wrote: Hi, When I tried to reset a counter in pg_stat_slru using pg_stat_reset_slru(name), not only the specified counter but all the counters were reset. postgres=# SELECT

Re: pg_stat_reset_slru(name) doesn't seem to work as documented

2020-05-02 Thread Tomas Vondra
On Fri, May 01, 2020 at 07:10:23PM +0900, Atsushi Torikoshi wrote: Hi, When I tried to reset a counter in pg_stat_slru using pg_stat_reset_slru(name), not only the specified counter but all the counters were reset. postgres=# SELECT * FROM pg_stat_slru ; name | blks_zeroed | blks

pg_stat_reset_slru(name) doesn't seem to work as documented

2020-05-01 Thread Atsushi Torikoshi
Hi, When I tried to reset a counter in pg_stat_slru using pg_stat_reset_slru(name), not only the specified counter but all the counters were reset. postgres=# SELECT * FROM pg_stat_slru ; name | blks_zeroed | blks_hit | blks_read | blks_written | blks_exists | flushes | truncates