public inbox for [email protected]
help / color / mirror / Atom feedRe: Transaction issue
3+ messages / 2 participants
[nested] [flat]
* Re: Transaction issue
@ 2024-06-20 14:47 Rich Shepard <[email protected]>
2024-06-20 14:56 ` Re: Transaction issue Adrian Klaver <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: Rich Shepard @ 2024-06-20 14:47 UTC (permalink / raw)
To: pgsql-general
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.
Regards,
Rich
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Transaction issue
2024-06-20 14:47 Re: Transaction issue Rich Shepard <[email protected]>
@ 2024-06-20 14:56 ` Adrian Klaver <[email protected]>
2024-06-20 15:30 ` Re: Transaction issue Rich Shepard <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Klaver @ 2024-06-20 14:56 UTC (permalink / raw)
To: Rich Shepard <[email protected]>; 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
[email protected]
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Transaction issue
2024-06-20 14:47 Re: Transaction issue Rich Shepard <[email protected]>
2024-06-20 14:56 ` Re: Transaction issue Adrian Klaver <[email protected]>
@ 2024-06-20 15:30 ` Rich Shepard <[email protected]>
0 siblings, 0 replies; 3+ messages in thread
From: Rich Shepard @ 2024-06-20 15:30 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-06-20 15:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-06-20 14:47 Re: Transaction issue Rich Shepard <[email protected]>
2024-06-20 14:56 ` Adrian Klaver <[email protected]>
2024-06-20 15:30 ` Rich Shepard <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox