Re: Autocomit off in psql don't work - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Autocomit off in psql don't work
Date
Msg-id 280.1070467206@sss.pgh.pa.us
Whole thread Raw
In response to Autocomit off in psql don't work  (Olleg <olleg@telecom.mipt.ru>)
Responses Re: Autocomit off in psql don't work  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Olleg <olleg@jane.telecom.mipt.ru> writes:
> olleg=# \set AUTOCOMMIT OFF

It has to be

    \set AUTOCOMMIT off

Not sure if we should be more flexible about this or not.  The code says

    /*
     * for backwards compatibility, anything except "off" is taken as
     * "true"
     */


            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Conflicts with autoconf macroses
Next
From: Joseph Tate
Date:
Subject: Seg Fault when using modules linked both to libpq and libodbcpsql.