Re: Autocomit off in psql don't work

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Olleg <olleg(at)jane(dot)telecom(dot)mipt(dot)ru>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Autocomit off in psql don't work
Date: 2003-12-04 12:23:06
Message-ID: 200312041223.hB4CN6r23129@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Olleg <olleg(at)jane(dot)telecom(dot)mipt(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Olleg 2003-12-04 15:51:33 Re: Conflicts with autoconf macroses
Previous Message Paul Billington 2003-12-04 10:50:05 Migration 7.3 to 7.4 Numeric values using PQ_ interface