Hello,
I am having some trouble getting PostgreSQL to log durations with
statements when called through JDBC. They appear just fine with
interactive queries using psql, but the duration field does not show up
on JDBC queries.
Is there some configuration I need to pass to the JDBC driver?
Example output from an interactive query:
LOG: duration: 109.524 ms statement: SELECT count(*) FROM transaction;
Example output from a JDBC query:
LOG: statement: SELECT count(*) FROM transaction;
Cheers,
-k