Re: Transaction issue
Rich Shepard <rshepard@appl-ecosys.com>
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Date: 2024-06-20T15:30:00Z
Lists: pgsql-general
On Thu, 20 Jun 2024, Adrian Klaver wrote: > From one of my previous posts(modified): > At this point I think you need to create a simple test case where: > > 1) You have script with > BEGIN; > <A line that contains the syntax error> > COMMIT; --optional > > 2) In psql do \i <the_script> > > 3) Do what you did before to 'recover' from the error. > > Shows us the content of the steps in your reply. Adrian, I belive that I did this yesterday. Regardless, either leaving off `BEGIN;' from the top of the script, or entering it prior to running the script, resolves the issue. I've not seen a problem since finding the solutions. Best regards, Rich