Unix Technical Forum

duration: missing with jdbc for postgresql 8.0

This is a discussion on duration: missing with jdbc for postgresql 8.0 within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> hi i searched the archives and found one guy complaining about it in march. yet - we recently installed ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 11:19 PM
hubert depesz lubaczewski
 
Posts: n/a
Default duration: missing with jdbc for postgresql 8.0

hi
i searched the archives and found one guy complaining about it in
march. yet - we recently installed 8.0.2 and the problem is still
there.
we moved back to drivers for 7.4, but it looks weird - use postgresql
8.0, and drivers to 7.4.
it there anybody working on this issue?

if you're not familiar with the problem:
using jdbc for postgresql 8.0 it renders postgresql not logging
duration: lines into logs. despite the fact that i have
log_duration = true
log_statement = 'all'

driver for 7.4 works fine.

depesz

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 11:19 PM
Dave Cramer
 
Posts: n/a
Default Re: duration: missing with jdbc for postgresql 8.0

This is an artifact of using the v3 protocol and prepared
statements; it is a known issue.

Although, I've never heard of it not logging duration.

Dave
On 11-Jun-05, at 2:18 AM, hubert depesz lubaczewski wrote:

> hi
> i searched the archives and found one guy complaining about it in
> march. yet - we recently installed 8.0.2 and the problem is still
> there.
> we moved back to drivers for 7.4, but it looks weird - use postgresql
> 8.0, and drivers to 7.4.
> it there anybody working on this issue?
>
> if you're not familiar with the problem:
> using jdbc for postgresql 8.0 it renders postgresql not logging
> duration: lines into logs. despite the fact that i have
> log_duration = true
> log_statement = 'all'
>
> driver for 7.4 works fine.
>
> depesz
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan
> if your
> joining column's datatypes do not match
>
>



---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com