pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: David G. Johnston <david.g.johnston@gmail.com>
To: prasanna rk <prasanna2mail@gmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Commit not required for update statement
Date: Mon, 15 Oct 2018 21:16:14 +1300
Message-ID: <04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz> (raw)
In-Reply-To: <CAKFQuwY1uSgnP+UjguX4zj2nXhy1MHU=D_FLtzxF1R9xehUhhA@mail.gmail.com>
References: <CADzxCadxXc8s-8Kv3V0gTx17M6OY2npQihqsR8RO=4xPo05XZA@mail.gmail.com>
	<93cce450-1c0b-bbb1-9994-e386b7b45062@catalyst.net.nz>
	<CADzxCad1qK4b520-c+5EHcM7O0+zktuDK0PKfZkUVD7Pgz3yVw@mail.gmail.com>
	<CAKFQuwY1uSgnP+UjguX4zj2nXhy1MHU=D_FLtzxF1R9xehUhhA@mail.gmail.com>

Yeah - it matters whether you using psql client or python db api (for 
example) - as some of these decide to open a transaction immediately 
after a connection is established (via BEGIN) . So reading the docs and 
experimenting as indicated is essential!

regards

Mark


On 15/10/18 18:58, David G. Johnston wrote:
> On Sunday, October 14, 2018, prasanna rk <prasanna2mail@gmail.com 
> <mailto:prasanna2mail@gmail.com>> wrote:
>
>     Does this mean..every statement which does not have begin will be
>     automatically commited.
>
>
> You should experiment in your chosen environment and see what does and 
> doesn’t work.
>
> David J.
>





view thread (6+ messages)

Message-ID: <04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz>
Permalink:  ../04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz/
Also on:    postgresql.org/message-id/04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz

 · 

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 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-admin@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz, david.g.johnston@gmail.com, prasanna2mail@gmail.com
  Subject: Re: Commit not required for update statement
  In-Reply-To: <04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz>
  References: <CADzxCadxXc8s-8Kv3V0gTx17M6OY2npQihqsR8RO=4xPo05XZA@mail.gmail.com> <93cce450-1c0b-bbb1-9994-e386b7b45062@catalyst.net.nz> <CADzxCad1qK4b520-c+5EHcM7O0+zktuDK0PKfZkUVD7Pgz3yVw@mail.gmail.com> <CAKFQuwY1uSgnP+UjguX4zj2nXhy1MHU=D_FLtzxF1R9xehUhhA@mail.gmail.com> <04dc9255-3b96-1d82-333d-a902c143d779@catalyst.net.nz>

* 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