diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2020-05-02 15:30:10 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2020-05-02 15:30:10 +0200 |
commit | d5d09692ea6b96944d24c44db1451f085b64ba09 (patch) | |
tree | c415075554ac9009e32ca821e0bbfdaa63da53bf /src/tutorial | |
parent | e685ca63ca4f5d6c9c27499d94fc71d2065b55d9 (diff) | |
download | postgresql-d5d09692ea6b96944d24c44db1451f085b64ba09.tar.gz postgresql-d5d09692ea6b96944d24c44db1451f085b64ba09.zip |
Remove superfluous memset from pgstat_recv_resetslrucounter
The extra memset meant pg_stat_reset_slru() always reset all the entries
even when reset of a single entry was requested, but the timestamp was
left uninitialized.
Reported-by: Atsushi Torikoshi
Discussion: https://postgr.es/m/CACZ0uYFe16pjZxQYaTn53mspyM7dgMPYL3DJLjjPw69GMCC2Ow%40mail.gmail.com
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions