Re: Currently running queries with actual arguments? - Mailing list pgsql-general

From rihad
Subject Re: Currently running queries with actual arguments?
Date
Msg-id ff6a5a5c-6fa2-90dc-1a52-e7ee1a839030@mail.ru
Whole thread Raw
In response to Re: Currently running queries with actual arguments?  (Garfield Lewis <garfield.lewis@lzlabs.com>)
Responses Re: Currently running queries with actual arguments?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
On 9/23/21 7:58 PM, Garfield Lewis wrote:
> The way I normally get this info is by setting the following:
>
> log_statement = 'all'
>
> then the arguments will be printed in the postgres.log file. There could be some other way but that is what I know.
>

Thanks, those queries are logged after their completion, but I 
specifically need the list of unfinished long queries currently being 
executed.




pgsql-general by date:

Previous
From: Israel Brewster
Date:
Subject: Re: Faster distinct query?
Next
From: Rob Sargent
Date:
Subject: Re: Faster distinct query?