pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexey Yudichev <Alexey@francoudi.com>
To: pgsql-jdbc@postgresql.org
Subject: idle in transaction
Date: Fri, 14 Mar 2003 19:14:51 +0200
Message-ID: <8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com> (raw)

  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?



view thread (21+ messages)  latest in thread

Message-ID: <8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com>
Permalink:  ../8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com/
Also on:    postgresql.org/message-id/8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Alexey@francoudi.com
  Subject: Re: idle in transaction
  In-Reply-To: <8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com>
  References: <8BCBF9DB739F034B87FE7C7D30EAE55C15A6CC@hqex2k.francoudi.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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