| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | andreas(dot)papst(at)univie(dot)ac(dot)at |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #11353: Documentation for SET AUTOCOMMIT is wrong |
| Date: | 2014-09-04 15:03:01 |
| Message-ID: | 20140904150301.GJ13008@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, Sep 4, 2014 at 09:04:43AM +0000, andreas(dot)papst(at)univie(dot)ac(dot)at wrote:
> The following bug has been logged on the website:
>
> Bug reference: 11353
> Logged by: Andreas Papst
> Email address: andreas(dot)papst(at)univie(dot)ac(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rainer Tammer | 2014-09-04 15:49:55 | Re: PostgreSql x AIX 7.1 |
| Previous Message | Antônio Galery | 2014-09-04 11:32:22 | PostgreSql x AIX 7.1 |