public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Gram <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: Debraj Manna <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: Do postgres use implicit transaction in UPDATE ... RETURNING queries?
Date: Fri, 29 Nov 2024 13:39:12 +0100
Message-ID: <CAJ=80GVxXc+3amBZeG=0KknWijw=sxqNGvcsqq5X8u3ToaUeDg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAF6DVKNEbSXLVOs=BBNxhQ_+pjQJL8uMrwx9GWHNyAZyvirvmA@mail.gmail.com>
<[email protected]>
Hi Laurenz et al
I would like to say in this way : Many clients like psql set autocommit on
as default.
It is up to the client to define the default and there are clients that
default to autocommit off.
Med venlig hilsen
Peter Gram
Sæbyholmsvej 18
2500 Valby
Mobile: (+45) 5374 7107
Email: [email protected]
On Fri, 29 Nov 2024 at 11:10, Laurenz Albe <[email protected]> wrote:
> On Fri, 2024-11-29 at 15:35 +0530, Debraj Manna wrote:
> > Can someone let me know if Postgres 15 uses implicit transactions
> for UPDATE...RETURNING queries?
>
> Yes, PostgreSQL always uses autocommit.
>
> Yours,
> Laurenz Albe
>
>
>
view thread (4+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Do postgres use implicit transaction in UPDATE ... RETURNING queries?
In-Reply-To: <CAJ=80GVxXc+3amBZeG=0KknWijw=sxqNGvcsqq5X8u3ToaUeDg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox