Re: Expose JIT counters/timing in pg_stat_statements

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Expose JIT counters/timing in pg_stat_statements
Date: 2022-02-28 16:24:49
Message-ID: 20220228162449.cxmr3pinx3b4bu4r@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 28, 2022 at 05:00:05PM +0100, Peter Eisentraut wrote:
> On 25.02.22 14:06, Magnus Hagander wrote:
> > + OUT jit_generation_time float8,
> > + OUT jit_inlining_time float8,
> > + OUT jit_optimization_time float8,
> > + OUT jit_emission_time float8
>
> Perhaps those should be of type interval?

The rest of the "time" fields are declared as float8, so I think it's better to
keep things consistent. And changing the type of existing fields, even in a
major version, seems like a bit too much trouble.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2022-02-28 16:45:17 CommitFest begins tomorrow... Get your patches in
Previous Message Peter Eisentraut 2022-02-28 16:02:56 Re: Readd use of TAP subtests