Re: PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state' - Mailing list pgsql-sql

From Ed Loehr
Subject Re: PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state'
Date
Msg-id 392E7F4C.AA455FAA@austin.rr.com
Whole thread Raw
In response to PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state'  (Markus Wagner <mawagner@mail.uni-mainz.de>)
List pgsql-sql
Markus Wagner wrote:
> 
> Hi,
> 
> I am using PG 6.5.1 and DBI. My Perl programs always print to stderr:
> 
> "NOTICE: UserAbortTransactionBlock and not in in-progress state" or
> "NOTICE: EndTransactionBlock and not inprogress/abort state"
> 
> I tried to do <stmthandle> -> finish and <dbhandle> -> commit after each
> query, but the messages still appear.
> 
> Any hints?

I think that happens if the backend aborted (elogged) with an ERROR
message and you did not start a new transaction.  ERROR kills the current
transaction altogether in 6.5.*, IIRC.

Regards,
Ed Loehr


pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: aliases break my query
Next
From: "Mitch Vincent"
Date:
Subject: date() indexing error..