From: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
---|---|
To: | Andrei Zubkov <zubkov(at)moonset(dot)ru> |
Cc: | Greg Stark <stark(at)mit(dot)edu>, Andres Freund <andres(at)anarazel(dot)de>, "Anton A(dot) Melnikov" <aamelnikov(at)inbox(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements |
Date: | 2022-04-03 09:56:16 |
Message-ID: | 20220403095616.i6g6s5ub2z7ucctd@jrouhaud |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On Sun, Apr 03, 2022 at 12:29:43PM +0300, Andrei Zubkov wrote:
> I've attached v12 of a patch. The only unsolved issue now is the
> following:
>
> On Sun, 2022-04-03 at 15:07 +0800, Julien Rouhaud wrote:
> > +ALTER EXTENSION pg_stat_statements UPDATE TO '1.9';
> > +\d pg_stat_statements
> > +\d pg_stat_statements_info
> > +SELECT pg_get_functiondef('pg_stat_statements_reset'::regproc);
> >
> > I don't think this bring any useful coverage.
>
> It is a little bit unclear to me what is the best solution here.
Sorry, I missed that there were some similar tests already for previous
versions. This was probably discussed and agreed before, so +1 to be
consistent with the new versions.
The patch looks good to me, although I will do a full review to make sure I
didn't miss anything.
Just another minor nitpicking after a quick look:
+ This field will be zero if ...
[...]
+ this field will contain zero until this statement ...
The wording should be consistent, so either "will be zero" or "will contain
zero" everywhere. I'm personally fine with any, but maybe a native English
will think one is better.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrei Zubkov | 2022-04-03 10:24:40 | Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements |
Previous Message | Andrei Zubkov | 2022-04-03 09:29:43 | Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements |