From: Julien Rouhaud <rjuju123@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Hannu Krosing <hannuk@google.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: torikoshia <torikoshia@oss.nttdata.com>
Cc: Atsushi Torikoshi <atorik@gmail.com>
Cc: Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Evgeny Efimkin <efimkin@yandex-team.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
Date: Thu, 8 Apr 2021 10:38:08 +0800
Message-ID: <20210408023808.gp75kbrli5df7wkd@nol> (raw)
In-Reply-To: <20210408023101.GI24239@momjian.us>
References: <20210407181211.GB24239@momjian.us>
<1646131.1617826550@sss.pgh.pa.us>
<20210407202255.GD24239@momjian.us>
<20210407215625.syzdpwew4j47hhgl@nol>
<20210407223840.GE24239@momjian.us>
<1730584.1617836485@sss.pgh.pa.us>
<20210407233835.GF24239@momjian.us>
<20210408004748.mhqds3v3nij35ihw@nol>
<20210408005402.GG24239@momjian.us>
<20210408023101.GI24239@momjian.us>
On Wed, Apr 07, 2021 at 10:31:01PM -0400, Bruce Momjian wrote:
> On Wed, Apr 7, 2021 at 08:54:02PM -0400, Bruce Momjian wrote:
> > > Unless I'm missing something this will output the query id in the next log
> > > line? The new code should be added before the newline is output, and the comma
> > > should also be output before the queryid.
> >
> > Yes, correct, updated patch attached.
>
> Patch applied.
Thanks! And I agree with using query_id in the new field names while keeping
queryid for pg_stat_statements to avoid unnecessary query breakage.
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-hackers@postgresql.org
Cc: rjuju123@gmail.com, bruce@momjian.us, tgl@sss.pgh.pa.us, nitinjadhavpostgres@gmail.com, alvherre@alvh.no-ip.org, hannuk@google.com, robertmhaas@gmail.com, pavel.stehule@gmail.com, michael@paquier.xyz, torikoshia@oss.nttdata.com, atorik@gmail.com, tatsuro.yamada.tf@nttcom.co.jp, tomas.vondra@2ndquadrant.com, efimkin@yandex-team.ru
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
In-Reply-To: <20210408023808.gp75kbrli5df7wkd@nol>
References: <20210407181211.GB24239@momjian.us> <1646131.1617826550@sss.pgh.pa.us> <20210407202255.GD24239@momjian.us> <20210407215625.syzdpwew4j47hhgl@nol> <20210407223840.GE24239@momjian.us> <1730584.1617836485@sss.pgh.pa.us> <20210407233835.GF24239@momjian.us> <20210408004748.mhqds3v3nij35ihw@nol> <20210408005402.GG24239@momjian.us> <20210408023101.GI24239@momjian.us> <20210408023808.gp75kbrli5df7wkd@nol>
* 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