Re: psql and autocommit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql and autocommit
Дата
Msg-id 9814.1093287187@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql and autocommit  (Tsirkin Evgeny <tsurkin@mail.jct.ac.il>)
Список pgsql-admin
Tsirkin Evgeny <tsurkin@mail.jct.ac.il> writes:
> I am using 7.3.4
> while executing psql -c the query is not commited
> that is probably because i have setted the autocommit = false
> However that is very unheandy - i have to add begin and
> commit to my shell scripts.

You have found one of the reasons we decided server-side autocommit was
evil ...

> Is there a way to avoid this ?

Use 7.4.  Note that autocommit is a psql feature not a server setting
in 7.4.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Roberto Rezende de Assis
Дата:
Сообщение: Re: Looking for tool for Graphic Database Design
Следующее
От: "Keith Bottner"
Дата:
Сообщение: Re: Looking for tool for Graphic Database Design