Re: Printing query durations - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Printing query durations
Date
Msg-id 26453.1143515949@sss.pgh.pa.us
Whole thread Raw
In response to Re: Printing query durations  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Printing query durations  (Dave Cramer <pg@fastcrypt.com>)
Re: Printing query durations  (Kevin Dorne <kevin@catalyst.net.nz>)
List pgsql-jdbc
Dave Cramer <pg@fastcrypt.com> writes:
> There is no difference between a jdbc query and a psql query. The
> backend doesn't know where the query comes from.

However, the backend has different code paths for V2 and V3 protocol,
and it could be that what he's looking at is a deficiency in the V3
protocol logging support.  If so, telling jdbc to use V2 would help.
(I'm being tentative about this because the backend version was not
mentioned --- we've fixed some of that stuff in recent releases.)

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: gcj has a lot of complaints about 8.1-405 release
Next
From: Dave Cramer
Date:
Subject: Re: gcj has a lot of complaints about 8.1-405 release