Simon Riggs <simon@2ndQuadrant.com> writes:
> An even better feature would be to be able to send a signal to a
> running query to log its currently executing plan. That way you can
> ask "Why so slow?" before deciding to kill it.
That could conceivably work. At least it wouldn't require running
EXPLAIN in a failed transaction.
regards, tom lane