Re: Transaction issue

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Transaction issue
Дата
Msg-id CAKFQuwZ+yT-jDtYUv8sbPskQO+SW6iRZL0XQjE0PPpBFfmetig@mail.gmail.com
обсуждение исходный текст
Ответ на Transaction issue  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: Transaction issue
Список pgsql-general
On Wed, Jun 19, 2024 at 10:56 AM Rich Shepard <rshepard@appl-ecosys.com> wrote:
I now insert rows using a transaction. Sometimes psql halts with an error:
ERROR:  current transaction is aborted, commands ignored until end of transaction block

I issue a rollback; command but cannot continue processing. What is the
appropriate way to respond to that error after fixing the syntax error?

Simplest process, after rollback you fix the problem and start again from the top of the transaction.

David J.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Transaction issue
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Transaction issue