Reg:Autocommit

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Reg:Autocommit
Date: 2015-07-25 08:31:03
Message-ID: CAKFQuwZeBpcxTnwiiwMg2Zjd5RDSa0NVscOJGgzLHNKS8Eagsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Saturday, July 25, 2015, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com
<javascript:_e(%7B%7D,'cvml','david(dot)g(dot)johnston(at)gmail(dot)com');>> wrote:

> On Friday, July 24, 2015, Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com> wrote:
>
>> Hi All,
>>
>> Sorry for keeping Repeat mail, I didn't mention the Error what i am
>> getting
>>
>> This is the Error mentioned below.
>> * postgres=#*
>> *set autocommit to off; ERROR: SET AUTOCOMMIT TO OFF is no longer
>> supported*
>> * postgres=#*
>>
>>
>
> Try: "BEGIN;"
>
>
Or you can use the psql specific:

\set AUTOCOMMIT off

Auto-commit is a feature of the client, not the server.

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Sabino Mullane 2015-07-25 12:15:32 Re: Error in getting top 10 biggest table
Previous Message David G. Johnston 2015-07-25 08:16:26 Re: Reg:Autocommit