Re: Fix floating-point noise in pg_stat_us_to_ms() - Mailing list pgsql-hackers

From John Naylor
Subject Re: Fix floating-point noise in pg_stat_us_to_ms()
Date
Msg-id CANWCAZY1R0FX_3pu=A0=do7u-mP0coM2ReXXCF7GxvhPwO4ssA@mail.gmail.com
Whole thread
In response to Re: Fix floating-point noise in pg_stat_us_to_ms()  (John Naylor <johncnaylorls@gmail.com>)
List pgsql-hackers
On Wed, Jul 1, 2026 at 4:05 PM John Naylor <johncnaylorls@gmail.com> wrote:
>
> On Mon, Jun 29, 2026 at 2:02 PM Bertrand Drouvot
> <bertranddrouvot.pg@gmail.com> wrote:
> > Given that / 1000.0 is the most common way to do this kind of computation in the
> > code tree, I think that it makes sense to update pg_stat_us_to_ms() to do so.
>
> +1, I'll take care of this.

Pushed.

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Shlok Kyal
Date:
Subject: Re: Include sequences in publications created by pg_createsubscriber
Next
From: Amit Kapila
Date:
Subject: Re: DOCS - Clarify that REFRESH SEQUENCES might be using stale publication data