Skip site navigation (1) Skip section navigation (2)

Re: PGSQL 7.4.8 : idle in transaction problem

From: imi <linimi(at)gmail(dot)com>
To: FM <dist-list(at)lexum(dot)umontreal(dot)ca>
Cc: Mailing List Postgres-Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PGSQL 7.4.8 : idle in transaction problem
Date: 2005-07-20 06:28:25
Message-ID: f739e4850507192328e6a1681@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hello,

(Sorry my english)

I saw this words in my 'ps -Af'. JBOSS use jdbc driver for postgres.
In java the Connection has a method: setAutoCommit(boolen).

Those connections where autocommit=false, and after the last sql
command (select, insert, update) NOT have rollback or commit, state
will "idle in transaction".

I'm sorry but I don't know how can you setup autocommit feature in the JBOSS.

linimi

On 7/19/05, FM <dist-list(at)lexum(dot)umontreal(dot)ca> wrote:
> Hello,
> 
> We are using JBOSS and postgresql on 1 database (DB1). From time to time
> the JBOSS process  <idle in transaction>.
> 
> What is strange is that users on all DB (not only DB1) are affected by
> the JBOSS <idle in transaction>.
> I understand that it locked DB1 but why it also locked users on others DB ?
> 
> Thanks !
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

In response to

pgsql-admin by date

Next:From: AndyDate: 2005-07-20 07:16:26
Subject: Re: can not start the postgresql, i use gentoo
Previous:From: Chris TraversDate: 2005-07-20 06:16:12
Subject: Re: caching table/query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group