Re: ToDo: log plans of cancelled queries

Dimitri Fontaine <dimitri@2ndquadrant.fr>

From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-13T20:32:45Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Set auto_explain.log_min_duration to 19 mins or maybe 17 and be done?
>
> That would only help if he were willing to wait for the long-running
> command to be done (instead of canceling it).  It's not hard to think
> of commands that will still be running after the heat death of the
> universe.

Oh. Brain fart from me. Sorry.

-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support