From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Trang Le <trang.le@evizi.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: autocommit for multi call store procedure
Date: Thu, 16 Sep 2021 07:21:04 -0700
Message-ID: <ea6b7f85-2fc0-e999-3ccc-ca5b17c5169b@aklaver.com> (raw)
In-Reply-To: <CAFfZjTjjYQhuJx89Nbx7C1DXeKkoj_ZkDps1pK1z_-3v3ua5XA@mail.gmail.com>
References: <CAFfZjTjjYQhuJx89Nbx7C1DXeKkoj_ZkDps1pK1z_-3v3ua5XA@mail.gmail.com>
On 9/16/21 12:36 AM, Trang Le wrote:
> Hi guys,
>
> I am using pgadmin4 to interact with Postgres database. For now I would
> like to run 2 store procedure (those have commit statement in begin end
> block). I enable autocommit and run call 2 store procedures at the same
> time. However, there is an error with invalid transaction termination.
>
> Could you help me on this issue?
Maybe but will need to see:
1) The content of the procedures.
2) The manner in which they are called.
3) The actual complete error message.
>
> Thanks,
> Trang
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, trang.le@evizi.com
Subject: Re: autocommit for multi call store procedure
In-Reply-To: <ea6b7f85-2fc0-e999-3ccc-ca5b17c5169b@aklaver.com>
References: <CAFfZjTjjYQhuJx89Nbx7C1DXeKkoj_ZkDps1pK1z_-3v3ua5XA@mail.gmail.com> <ea6b7f85-2fc0-e999-3ccc-ca5b17c5169b@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox