View Single Post

   
  #3 (permalink)  
Old 04-16-2008, 12:59 AM
Tom Lane
 
Posts: n/a
Default Re: Printing query durations

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote