Re: after postgres upgrade - ERROR: current transaction

From: Holger Marzen <holger(at)marzen(dot)de>
To: Abdul-Wahid Paterson <aw(at)lintrix(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: after postgres upgrade - ERROR: current transaction
Date: 2003-09-15 18:46:29
Message-ID: Pine.LNX.4.50.0309152042080.8909-100000@bluebell.marzen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 15 Sep 2003, Abdul-Wahid Paterson wrote:

> I have had a site working for the last 2 years and have had no problems
> until at the weekend I replace my database server with a newer one. The
> database migration went like a dream and I had the whole db changed over
> in 1 hour.
>
> Since the upgrade I have been getting the following error message
> sporadically.
>
> ERROR: current transaction is aborted, queries ignored until end of
> transaction block

[...]

> To put my theory to test, I have turned off the persistent connections
> on my site and everything appears to be working fine now. I now need to
> work out where to go from here as my server load is high and I would
> prefer to use persistent connections.

<crystal ball>
You made some error when importing the new database and now you have
some sequences with their counter not greater than the last sequence
number. So you get some insert errors within transactions, and then you
cannot issue any inserts or updates in that transaction until you do a
rollback.
</crystal ball>

--
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xB5A1AFE1

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2003-09-15 18:48:21 Re: after postgres upgrade - ERROR: current transaction
Previous Message Holger Marzen 2003-09-15 18:36:34 Re: pg 7.3.4 and linux box crash