Re: Autocommit for multi call procedure

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Trang Le <trang(dot)le(at)evizi(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Autocommit for multi call procedure
Date: 2021-09-20 05:32:17
Message-ID: CAM9w-_=dqtVYU20xvRXT-u4d90yyM=xvGXdPyHyb27fR93sGyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi Trang,

Please log the bug here -
https://redmine.postgresql.org/projects/pgadmin4/issues/new for the pgAdmin
team to work on it.

On Mon, Sep 20, 2021 at 10:42 AM Trang Le <trang(dot)le(at)evizi(dot)com> wrote:

> Hi Aditya,
>
> I tried in psql and it works as expected.
>
> Can you double check on this case, I already check autocommit is true.
>
> Thanks & regards,
> Trang
>
> On Mon, Sep 20, 2021 at 12:08 PM Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> Hi Trang,
>>
>> Can you try calling the same from the PSQL tool -
>> https://www.pgadmin.org/docs/pgadmin4/5.7/psql_tool.html if it works ?
>> Query tool runs queries wrapped inside BEGIN and END. Maybe that is
>> causing the issue.
>>
>> On Fri, Sep 17, 2021 at 12:20 PM Trang Le <trang(dot)le(at)evizi(dot)com> wrote:
>>
>>> Hi guys,
>>>
>>> I am trying to call 2 stored procedures in a run command that has commit
>>> statement. However, I received an error 'Invalid transaction termination'.
>>> Could you help me on this issue?
>>>
>>> [image: image.png]
>>>
>>> [image: image.png]
>>>
>>> Regards,
>>> Trang
>>>
>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> <http://edbpostgres.com>
>> "Don't Complain about Heat, Plant a TREE"
>>
>

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Nikhil Mohite 2021-09-20 06:07:25 [pgAdmin][patch]: Password field issue.
Previous Message Aditya Toshniwal 2021-09-20 05:08:04 Re: Autocommit for multi call procedure

Browse pgadmin-support by date

  From Date Subject
Next Message Michael Shapiro 2021-09-20 12:33:05 Re: Autocommit for multi call procedure
Previous Message Aditya Toshniwal 2021-09-20 05:08:04 Re: Autocommit for multi call procedure