pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
switching from 7.4.1 to 8.0-311 jdbc driver
3+ messages / 2 participants
[nested] [flat]

* switching from 7.4.1 to 8.0-311 jdbc driver
@ 2005-04-21 15:02  Dennis Sacks <dennis@illusions.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Dennis Sacks @ 2005-04-21 15:02 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

I am proposing a change to the newer 8.0 jdbc driver - it seems to clear 
up some odd things I was seeing logged heavily:

2005-04-19 16:43:03 LOG:  00000: duration: 0.246 ms
LOCATION:  exec_simple_query, postgres.c:960
2005-04-19 16:43:03 LOG:  00000: statement: rollback; begin;
LOCATION:  pg_parse_query, postgres.c:464

My question is - are there any "gotchas" I need to look out for - 
changes in behavior, etc, that might cause problems with this switch?
The java application makes use of autocommit() quite a bit.

I am running postgresql 7.4.2.

Thanks,

Dennis





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: switching from 7.4.1 to 8.0-311 jdbc driver
@ 2005-04-21 18:24  Kris Jurka <books@ejurka.com>
  parent: Dennis Sacks <dennis@illusions.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kris Jurka @ 2005-04-21 18:24 UTC (permalink / raw)
  To: Dennis Sacks <dennis@illusions.com>; +Cc: pgsql-jdbc



On Thu, 21 Apr 2005, Dennis Sacks wrote:

> I am proposing a change to the newer 8.0 jdbc driver - it seems to clear 
> up some odd things I was seeing logged heavily:
> 
> 2005-04-19 16:43:03 LOG:  00000: duration: 0.246 ms
> LOCATION:  exec_simple_query, postgres.c:960
> 2005-04-19 16:43:03 LOG:  00000: statement: rollback; begin;
> LOCATION:  pg_parse_query, postgres.c:464

This statement is from issuing Connection.rollback() and it will still 
happen with the 8.0 driver.  The difference is that the 8.0 driver uses 
the full V3 protocol which has some logging problems on the server 
side, so you just aren't seeing them being executed even though they 
are.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: switching from 7.4.1 to 8.0-311 jdbc driver
@ 2005-04-21 21:59  Dennis Sacks <dennis@illusions.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Dennis Sacks @ 2005-04-21 21:59 UTC (permalink / raw)
  To: pgsql-jdbc

Kris Jurka wrote:

>This statement is from issuing Connection.rollback() and it will still 
>happen with the 8.0 driver.  The difference is that the 8.0 driver uses 
>the full V3 protocol which has some logging problems on the server 
>side, so you just aren't seeing them being executed even though they 
>are.
>  
>

Are there advantages of moving to the 8.0 driver?

Dennis
dennis@illusions.com



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-04-21 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 15:02 switching from 7.4.1 to 8.0-311 jdbc driver Dennis Sacks <dennis@illusions.com>
2005-04-21 18:24 ` Kris Jurka <books@ejurka.com>
2005-04-21 21:59   ` Dennis Sacks <dennis@illusions.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