Re: Transaction issue

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Transaction issue
Date: 2024-06-19 17:58:19
Message-ID: 4773397e-dec5-4c0a-bbfc-ea5794805c4d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/19/24 10:56 AM, Rich Shepard 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

Is this being done in a script fed to psql?

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

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-06-19 18:07:06 Re: Transaction issue
Previous Message Rich Shepard 2024-06-19 17:56:25 Transaction issue