Hi, I would like to know if it's possible to trace, with the Trace API, statements that are in execution when a connection is closed.
The practical use for this is when a statement is too slow that makes the user to kill the application. I've tried to simulate this by killing the application when is executing a slow query but the log_statement_finish is not triggered. So i would like to know if we can trace this behaviour. Thank you Jaume