track_io_timing logging: Don't special case 0 ms.

Adjust track_io_timing related logging code added by commit 94d13d474d.
Make it consistent with other nearby autovacuum and autoanalyze logging
code by removing logic that suppressed zero millisecond outputs.

log_autovacuum_min_duration log output now reliably shows "read:" and
"write:" millisecond-based values in its report (when track_io_timing is
enabled).

Author: Peter Geoghegan <[email protected]>
Reviewed-By: Stephen Frost <[email protected]>
Discussion: 
https://postgr.es/m/cah2-wznw0fnxsvqmsrazamynfz6dr_gr5we78hc6e1cbkkj...@mail.gmail.com
Backpatch: 14-, where the track_io_timing logging was introduced.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bda822554b96c6564911df95fcb898d6c30efe46

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 15 +++++----------
src/backend/commands/analyze.c       | 15 +++++----------
2 files changed, 10 insertions(+), 20 deletions(-)

Reply via email to