Re: [PATCH] Change wait_time column of pg_stat_lock to double precision - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Change wait_time column of pg_stat_lock to double precision
Date
Msg-id akH6Jv6xoyRQeYWZ@paquier.xyz
Whole thread
In response to Re: [PATCH] Change wait_time column of pg_stat_lock to double precision  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: [PATCH] Change wait_time column of pg_stat_lock to double precision
List pgsql-hackers
On Mon, Jun 29, 2026 at 04:27:55AM +0000, Bertrand Drouvot wrote:
> postgres=# select read_time from pg_stat_io where read_time > 0;
>       read_time
> ---------------------
>   2.2640000000000002
>  0.08700000000000001
>
> Maybe it should be changed to?

pg_stat_io with track_io_timing enabled shows the same thing.  FWIW,
that does not bother me much.  It's just more important to me to apply
the same formulas across the board.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: [PATCH] doc: clarify pg_stat_lock.fastpath_exceeded scope
Next
From: Bertrand Drouvot
Date:
Subject: Re: [PATCH] Change wait_time column of pg_stat_lock to double precision