pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: andreas.papst@univie.ac.at
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11353: Documentation for SET AUTOCOMMIT is wrong
Date: Thu, 4 Sep 2014 11:03:01 -0400
Message-ID: <20140904150301.GJ13008@momjian.us> (raw)
In-Reply-To: <20140904090443.2926.90712@wrigleys.postgresql.org>
References: <20140904090443.2926.90712@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thu, Sep  4, 2014 at 09:04:43AM +0000, andreas.papst@univie.ac.at wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      11353
> Logged by:          Andreas Papst
> Email address:      andreas.papst@univie.ac.at
> PostgreSQL version: 9.1.14
> Operating system:   Debian 7
> Description:        
> 
> db=> SET AUTOCOMMIT = OFF
> db=> ;
> 
> ERROR:  SET AUTOCOMMIT TO OFF is no longer supported

Autocommit is now set per-client application, not at the server level,
so it is \set in psql:

	test=> \set AUTOCOMMIT off
	test=> select 1 ;
	 ?column?
	----------
	        1
	(1 row)
	
	test=> commit;

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


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



view thread (3+ messages)  latest in thread

Message-ID: <20140904150301.GJ13008@momjian.us>
Permalink:  ../20140904150301.GJ13008@momjian.us/
Also on:    postgresql.org/message-id/20140904150301.GJ13008@momjian.us

 · 

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-bugs@postgresql.org
  Cc: bruce@momjian.us, andreas.papst@univie.ac.at
  Subject: Re: BUG #11353: Documentation for SET AUTOCOMMIT is wrong
  In-Reply-To: <20140904150301.GJ13008@momjian.us>
  References: <20140904090443.2926.90712@wrigleys.postgresql.org> <20140904150301.GJ13008@momjian.us>

* 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