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-20T14:56:28Z
Lists: pgsql-general
On 6/20/24 07:47, Rich Shepard wrote:
> On Thu, 20 Jun 2024, Rob Sargent wrote:
> 
>> Is psql running in emacs (which is my preferred sql shell. M-x 
>> sql-postgres)?
> 
> Rob,
> 
> Not when I'm entering new data or updating existing tables. Otherwise, yes.

 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.


> 
> Regards,
> 
> Rich
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com