Skip site navigation (1) Skip section navigation (2)

no duration logging when using JDBC?

From: Palle Girgensohn <girgen(at)FreeBSD(dot)org>
To: hackers(at)postgresql(dot)org
Subject: no duration logging when using JDBC?
Date: 2005-08-25 22:53:17
Message-ID: 0C7AC2BA8FF91CD0FB0FACB0@palle.girgensohn.se (view raw or flat)
Thread:
Lists: pgsql-hackers
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



pgsql-hackers by date

Next:From: Andrew DunstanDate: 2005-08-25 23:03:05
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Previous:From: Tom LaneDate: 2005-08-25 22:51:29
Subject: Re: Stuff running slooow

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group