Re: pg primary key bug?

From: Markus Schaber <schabios(at)logi-track(dot)com>
To: Ragnar Hafstað <gnari(at)simnet(dot)is>
Cc: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Richard_D_Levine(at)raytheon(dot)com, Michael Glaesemann <grzm(at)myrealbox(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: pg primary key bug?
Date: 2005-02-22 13:36:16
Message-ID: 421B3550.5080108@logi-track.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)logi-track(dot)com | www.logi-track.com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Schaber 2005-02-22 13:40:32 Re: problem inserting local characters ...
Previous Message Garry 2005-02-22 13:01:50 problem inserting local characters ...