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