Re: Transaction issue - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Transaction issue
Date
Msg-id 4773397e-dec5-4c0a-bbfc-ea5794805c4d@aklaver.com
Whole thread Raw
In response to Transaction issue  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Transaction issue
List 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.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Transaction issue
Next
From: "David G. Johnston"
Date:
Subject: Re: Transaction issue