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

From Bruce Momjian
Subject Re: Autocomit off in psql don't work
Date
Msg-id 200312041223.hB4CN6r23129@candle.pha.pa.us
Whole thread Raw
In response to Re: Autocomit off in psql don't work  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> 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"
>      */

That seems pretty strange to me.  Is this a TODO?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: Alvar Freude
Date:
Subject: Re: bytea, index and like operator
Next
From: Olleg
Date:
Subject: Re: Conflicts with autoconf macroses