git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e685ca6) | patch
Remove superfluous memset from pgstat_recv_resetslrucounter
Sat, 2 May 2020 13:30:10 +0000 (15:30 +0200)
Sat, 2 May 2020 13:30:10 +0000 (15:30 +0200)
commit d5d09692ea6b96944d24c44db1451f085b64ba09
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
src/backend/postmaster/pgstat.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /