Re: autocommit to off? - Mailing list pgsql-general

From Tom Lane
Subject Re: autocommit to off?
Date
Msg-id 29608.1078873831@sss.pgh.pa.us
Whole thread Raw
In response to autocommit to off?  (Bricklen <bricklen-rem@yahoo.comz>)
List pgsql-general
Bricklen <bricklen-rem@yahoo.comz> writes:
> I've scoured the net for a simple way to set AUTOCOMMIT off in psql, for
> the duration of a session (not simply a transaction). The only real
> reference that I can find says that "\set autocommit off" will do what I
> want.  It doesn't though.

You didn't read it carefully; it said "\set AUTOCOMMIT off".  psql
variables are case-sensitive.  (Note also this requires postgres >= 7.4.)

            regards, tom lane

pgsql-general by date:

Previous
From: Simon Windsor
Date:
Subject: How do I change column details
Next
From: Tom Lane
Date:
Subject: Re: Shouldn't B'1' = 1::bit be true?