Re: pg primary key bug? - Mailing list pgsql-sql

From Markus Schaber
Subject Re: pg primary key bug?
Date
Msg-id 421B3550.5080108@logi-track.com
Whole thread Raw
In response to Re: pg primary key bug?  (Ragnar Hafstað <gnari@simnet.is>)
List pgsql-sql
Hi, Ragnar,

Ragnar Hafstað schrieb:

>>We are using  jdbc (jdbc driver from pg)  + jboss (java based
>>application server) + connection pool (biult in jboss).
>>...
>>Will vacuum full generate this problem if we have locked table in this
>>time? (It is possible to have locked table in theory)
> I do not know if this is relevant, but I have seen jboss applications
> keep sessions in 'Idle in transaction' state, apparently with some
> locks granted. Would such cases not interfere with vacuum?

Most of those "Idle in transaction" problems were caused by suboptimal
handling of BEGIN in the pgjdbc driver, this should be fixed in current
versions of postgres.jar (build 8.0-310).

Markus

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com


pgsql-sql by date:

Previous
From: Garry
Date:
Subject: problem inserting local characters ...
Next
From: Markus Schaber
Date:
Subject: Re: problem inserting local characters ...