Re: autocommit to off?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autocommit to off?
Дата
Msg-id 29608.1078873831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на autocommit to off?  (Bricklen <bricklen-rem@yahoo.comz>)
Список 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 по дате отправления:

Предыдущее
От: Simon Windsor
Дата:
Сообщение: How do I change column details
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Shouldn't B'1' = 1::bit be true?