From: Ed Loehr <eloehr@austin.rr.com>
To: Markus Wagner <mawagner@mail.uni-mainz.de>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state'
Date: Fri, 26 May 2000 08:42:36 -0500
Message-ID: <392E7F4C.AA455FAA@austin.rr.com> (raw)
References: <392E17D1.83B13A21@mail.uni-mainz.de>
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
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-sql@postgresql.org
Cc: eloehr@austin.rr.com, mawagner@mail.uni-mainz.de
Subject: Re: PG/DBI: 'NOTICE: UserAbortTransactionBlock and not in in-progress state'
In-Reply-To: <392E7F4C.AA455FAA@austin.rr.com>
References: <392E17D1.83B13A21@mail.uni-mainz.de> <392E7F4C.AA455FAA@austin.rr.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