Re: after postgres upgrade - ERROR: current transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Abdul-Wahid Paterson <aw(at)lintrix(dot)net>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: after postgres upgrade - ERROR: current transaction
Date: 2003-09-16 17:03:22
Message-ID: 18258.1063731802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Abdul-Wahid Paterson <aw(at)lintrix(dot)net> writes:
> I have kinda put my finger on the problem. It seems that a transaction
> was crashing out somewhere in my code and a rollback was not being done
> (I have not found the line of code yet) and the next PHP script to take
> on the connection was therefore getting a message saying that the
> current transaction was aborted.
> [snip]
> The thing that still puzzles me is this: If you remember from my earlier
> post, the only thing I have changed here is the database server (from
> postgres 7.1.3 to 7.3.4). What I don't understand is why did 7.1.3 never
> cause a problem with the failed transactions not being rolledback?

Most likely, the transaction didn't fail in the first place with 7.1 ---
ie, the failure is due to some version-to-version incompatibility
between 7.1 and 7.3. Check the 7.2 and 7.3 release notes for some
ideas what to look for.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-09-16 17:08:09 Re: after postgres upgrade - ERROR: current transaction
Previous Message Robert Treat 2003-09-16 16:54:29 Re: after postgres upgrade - ERROR: current transaction