Re: after postgres upgrade - ERROR: current transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: after postgres upgrade - ERROR: current transaction
Дата
Msg-id 18258.1063731802@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: after postgres upgrade - ERROR: current transaction  (Abdul-Wahid Paterson <aw@lintrix.net>)
Список pgsql-general
Abdul-Wahid Paterson <aw@lintrix.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: State of Beta 2
Следующее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: after postgres upgrade - ERROR: current transaction