Re: What query currently running within function - Mailing list pgsql-general

From Peter Geoghegan
Subject Re: What query currently running within function
Date
Msg-id CAEYLb_XYVK5xNH6wWjGBKNuUCYeBJRkkruZ4Zuyr7GZT-pFmNg@mail.gmail.com
Whole thread Raw
In response to Re: What query currently running within function  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-general
On Tue, Jul 22, 2014 at 2:45 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Unfortunately, no. Even with the latest release. pg_stat_activity shows you
> what the client fires, not what the server does.


pg_stat_statements has a "track" GUC which controls whether or not
nested statements, such as statements executed within functions are
tracked.

--
Regards,
Peter Geoghegan


pgsql-general by date:

Previous
From: Fabio Milano
Date:
Subject: Standby Server Bus 7 error
Next
From: Michael Paquier
Date:
Subject: Re: Standby Server Bus 7 error