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.