pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver
2+ messages / 2 participants
[nested] [flat]
* PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver
@ 2005-03-09 21:15 Ryszard Lach <siaco@autograf.pl>
2005-03-09 21:31 ` Re: PostgreSQL 8.0 can't print duration in log when client Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ryszard Lach @ 2005-03-09 21:15 UTC (permalink / raw)
To: pgsql-jdbc
Hi.
I noticed, that PostgreSQL cannot print statement duration when a Java
client is using JDBC driver (I've tested with JDK1.4.2 and JDBC-2 and
JDBC-3 postgresql8 drivers). Changing driver to 7.4 (JDBC-3) solves the
problem. Strange, isn't it?
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PostgreSQL 8.0 can't print duration in log when client
2005-03-09 21:15 PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver Ryszard Lach <siaco@autograf.pl>
@ 2005-03-09 21:31 ` Oliver Jowett <oliver@opencloud.com>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2005-03-09 21:31 UTC (permalink / raw)
To: Ryszard Lach <siaco@autograf.pl>; +Cc: pgsql-jdbc
Ryszard Lach wrote:
> I noticed, that PostgreSQL cannot print statement duration when a Java
> client is using JDBC driver (I've tested with JDK1.4.2 and JDBC-2 and
> JDBC-3 postgresql8 drivers). Changing driver to 7.4 (JDBC-3) solves the
> problem. Strange, isn't it?
This is likely to be because the newer driver uses the extended-query
protocol. Current backends don't handle logging of the extended-query
protocol very well, I guess that statement duration logging is another
manifestation of this.
-O
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-03-09 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-09 21:15 PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver Ryszard Lach <siaco@autograf.pl>
2005-03-09 21:31 ` Re: PostgreSQL 8.0 can't print duration in log when client Oliver Jowett <oliver@opencloud.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox