idle in transaction

From: "Alexey Yudichev" <Alexey(at)francoudi(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: idle in transaction
Date: 2003-03-14 17:14:51
Message-ID: 8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

It seems that connection.commit() commits current transaction and immediately begins a new one so that connection status is always "idle in transaction". During that time no indicies could be created/dropped, no vaccum command can be issued etc because of locks I suppose.
I use PostgreSQL 7.1 and tried 7.2 drivers and 7.3 drivers (with option compatible=7.1).
Is there anything that can be done to allow creating index without restarting the connection pool?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeff Kolesky 2003-03-15 00:20:26 Multiple open ResultSets not allowed?
Previous Message Mario Rodriguez Villanea 2003-03-14 16:01:56 special characters