pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #11353: Documentation for SET AUTOCOMMIT is wrong
3+ messages / 3 participants
[nested] [flat]

* BUG #11353: Documentation for SET AUTOCOMMIT is wrong
@ 2014-09-04 09:04  andreas.papst@univie.ac.at
  0 siblings, 1 reply; 3+ messages in thread

From: andreas.papst@univie.ac.at @ 2014-09-04 09:04 UTC (permalink / raw)
  To: pgsql-bugs

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



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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #11353: Documentation for SET AUTOCOMMIT is wrong
@ 2014-09-04 15:03  Bruce Momjian <bruce@momjian.us>
  parent: andreas.papst@univie.ac.at
  0 siblings, 1 reply; 3+ messages in thread

From: Bruce Momjian @ 2014-09-04 15:03 UTC (permalink / raw)
  To: andreas.papst@univie.ac.at; +Cc: pgsql-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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #11353: Documentation for SET AUTOCOMMIT is wrong
@ 2014-09-08 07:01  Michael Paquier <michael.paquier@gmail.com>
  parent: Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2014-09-08 07:01 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: andreas.papst@univie.ac.at; pgsql-bugs

On Fri, Sep 5, 2014 at 12:03 AM, Bruce Momjian <bruce@momjian.us> wrote:
> On Thu, Sep  4, 2014 at 09:04:43AM +0000, andreas.papst@univie.ac.at wrote:
>> ERROR:  SET AUTOCOMMIT TO OFF is no longer supported
> Autocommit is now set per-client application, not at the server level,
This modification of behavior has been done in 7.4. You can refer to
the release notes of this time for more details about the reason why
server-side autocommit has been removed:
http://www.postgresql.org/docs/devel/static/release-7-4.html
Regards,
-- 
Michael


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-09-08 07:01 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04 09:04 BUG #11353: Documentation for SET AUTOCOMMIT is wrong andreas.papst@univie.ac.at
2014-09-04 15:03 ` Bruce Momjian <bruce@momjian.us>
2014-09-08 07:01   ` Michael Paquier <michael.paquier@gmail.com>

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