pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Shreeyansh Dba <shreeyansh2014@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Reg:Autocommit
Date: Sat, 25 Jul 2015 07:29:45 -0600
Message-ID: <B0B21EAF-A138-43E6-A336-706EA7FD7ED9@elevated-dev.com> (raw)
In-Reply-To: <CAGDYbUPwre0+tGbXtfq+oYmcoHRzL=7dH+PbWH8273JqmBEeoA@mail.gmail.com>
References: <CAGDYbUP8cF5Zi4ZhPLM59Mhq4+Gv-3kZRg0aB7Wa3LO427qyDA@mail.gmail.com>
	<CAGDYbUOB_Pec7TZYfSOuKLwwsB7CNU5dqtqo5f7KhMiaFJVOWQ@mail.gmail.com>
	<CAKFQuwaEzOOLZ5kdgO41oSLs_mUXRStkOKnkJPV=M0YFhst0rQ@mail.gmail.com>
	<CAKFQuwZeBpcxTnwiiwMg2Zjd5RDSa0NVscOJGgzLHNKS8Eagsg@mail.gmail.com>
	<CAGDYbUPwre0+tGbXtfq+oYmcoHRzL=7dH+PbWH8273JqmBEeoA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Jul 25, 2015, at 7:22 AM, Shreeyansh Dba <shreeyansh2014@gmail.com> wrote:
> 
> I want the permanent solution without using "BEGIN". 
> Can you please tell me the solution.

The permanent solution is to specify the boundaries of your transactions, using begin & commit. It's either that, or let your client assume that every submitted statement should be its own transaction, which is what autocommit does.


-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (9+ messages)  latest in thread

Message-ID: <B0B21EAF-A138-43E6-A336-706EA7FD7ED9@elevated-dev.com>
Permalink:  ../B0B21EAF-A138-43E6-A336-706EA7FD7ED9@elevated-dev.com/
Also on:    postgresql.org/message-id/B0B21EAF-A138-43E6-A336-706EA7FD7ED9@elevated-dev.com

 · 

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: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, shreeyansh2014@gmail.com
  Subject: Re: Reg:Autocommit
  In-Reply-To: <B0B21EAF-A138-43E6-A336-706EA7FD7ED9@elevated-dev.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