Re: autocommit to off?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bricklen <bricklen-rem(at)yahoo(dot)comz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: autocommit to off?
Date: 2004-03-09 23:10:31
Message-ID: 29608.1078873831@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bricklen <bricklen-rem(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-03-09 23:18:26 Re: autocommit to off?
Previous Message Bill Moran 2004-03-09 22:56:46 Re: Question on stored functions