From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: track_io_timing logging: Don't special case 0 ms.
Date: Fri, 27 Aug 2021 20:35:12 +0000
Message-ID: <E1mJiZE-0006Vy-3I@gemulon.postgresql.org> (raw)
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 <pg@bowt.ie>
Reviewed-By: Stephen Frost <sfrost@snowman.net>
Discussion: https://postgr.es/m/CAH2-WznW0FNxSVQMSRazAMYNfZ6DR_gr5WE78hc6E1CBkkJpzw@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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: pg@bowt.ie
Subject: Re: pgsql: track_io_timing logging: Don't special case 0 ms.
In-Reply-To: <E1mJiZE-0006Vy-3I@gemulon.postgresql.org>
References: <E1mJiZE-0006Vy-3I@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox