how can I tell which transaction each SQL call is in?

hi,

I'm trying to debug some transaction related issues in my code:

How could I tell which Sql statement (from logs) which transaction (if any) they are in?

Grg

you should use query_trace plugin.

Adam