public inbox for [email protected]
help / color / mirror / Atom feedFrom: Mladen Gogala <[email protected]>
To: [email protected]
Subject: Re: set autocommit only for select statements
Date: Tue, 12 Apr 2022 08:00:35 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
On 4/12/22 02:31, Holger Jakobs wrote:
> What you write about psql sending a COMMIT statement after each
> statement is wrong. It may be true for other database systems.
>
> PostgreSQL as a server commits each statement automatically unless the
> client has started a transaction with BEGIN or START TRANSACTION
> statements.
>
> This can be proved easily by not using psql as a client, but some
> programming language.
>
> Regards,
If what you are saying was true, then autocommit would be a database
mode, not a tool mode. It isn't a database mode. Q.E.D.
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
view thread (9+ 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]
Subject: Re: set autocommit only for select statements
In-Reply-To: <[email protected]>
* 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