no duration logging when using JDBC?

Started by Palle Girgensohnover 20 years ago1 messages
#1Palle Girgensohn
girgen@FreeBSD.org

Hi!

When using JDBC (8.0.311) to connect to a 8.0.3 database, with

log_duration = true

nothing happens. For psql connections, it works fine, but not for JDBC
connections. Surely a bug? Is it fixed in the 8.1 branch?

Also, as I mailed about a while back, when using prepared statements, the
parameters for each sql query are not logged, only the query itself. There
must be a way to get the parameters as well.

Cheers,
Palle