Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activityview? - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activityview?
Date
Msg-id CAH2-WzmDsNL-vjsBJQ5NRrULyDWBx8YTofr3ZmRfy7As13gQ7A@mail.gmail.com
Whole thread Raw
In response to Re: Feature improvement: can we add queryId forpg_catalog.pg_stat_activity view?  (legrand legrand <legrand_legrand@hotmail.com>)
Responses Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activityview?
Re: Feature improvement: can we add queryId forpg_catalog.pg_stat_activity view?
List pgsql-hackers
On Tue, Mar 19, 2019 at 12:38 PM legrand legrand
<legrand_legrand@hotmail.com> wrote:
> Would it make sense to add it in auto explain ?
> I don't know for explain itself, but maybe ...

I think that it should appear in EXPLAIN. pg_stat_statements already
cannot have a query hash of zero, so it might be okay to display it
only when its value is non-zero.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Superfluous libpq-be.h include in GSSAPI code
Next
From: Tom Lane
Date:
Subject: Re: Avoid full GIN index scan when possible