From: Evan Bauer <evanbauer@mac.com>
To: prasanna rk <prasanna2mail@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Commit not required for update statement
Date: Sun, 14 Oct 2018 22:44:14 -0400
Message-ID: <000EB813-E3AC-46A8-9F5B-1B13410909C6@mac.com> (raw)
In-Reply-To: <CADzxCadxXc8s-8Kv3V0gTx17M6OY2npQihqsR8RO=4xPo05XZA@mail.gmail.com>
References: <CADzxCadxXc8s-8Kv3V0gTx17M6OY2npQihqsR8RO=4xPo05XZA@mail.gmail.com>
Autocommit is, by default, off for embedded SQL programs in PostgreSQL 10. The syntax to change that is:
SET AUTOCOMMIT TO ON
Cheers,
- Evan
Evan Bauer
eb@evanbauer.com
+1 646 641 2973
Skype: evanbauer
> On Oct 14, 2018, at 22:30, prasanna rk <prasanna2mail@gmail.com> wrote:
>
> Hi all
>
> We are running posters 10.4 version, wanted to know if commit statement is not required for update.
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: pgsql-admin@postgresql.org
Cc: evanbauer@mac.com, prasanna2mail@gmail.com
Subject: Re: Commit not required for update statement
In-Reply-To: <000EB813-E3AC-46A8-9F5B-1B13410909C6@mac.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