Transaction issue

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Transaction issue
Date: 2024-06-19 17:56:25
Message-ID: b77e58b-dd8c-373b-2a25-9eb224488e8b@appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

TIA,

Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-06-19 17:58:19 Re: Transaction issue
Previous Message Rich Shepard 2024-06-19 17:38:24 Re: Proper format for pg_dump file date