Re: Transaction issue

Adrian Klaver <adrian.klaver@aklaver.com>

From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>, pgsql-general@postgresql.org
Date: 2024-06-19T20:10:02Z
Lists: pgsql-general
On 6/19/24 12:40, Rich Shepard wrote:
> On Wed, 19 Jun 2024, Adrian Klaver wrote:
> 
>> Are there transaction statements e.g. BEGIN;, COMMIT; in the script?
> 
> Adrian,
> 
> Yes, each script has BEGIN; on line 1.

Does it have a COMMIT; at the end?

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;

2) In psql do \i <the_script>

3) Do what you did before.

Shows us the content of the steps in your reply.

> 
> Rich
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com