Re: A bad behavior under autocommit off mode

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: A bad behavior under autocommit off mode
Дата
Msg-id
Pine.LNX.4.44.0303211136510.2387-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Re: A bad behavior under autocommit off mode Hiroshi Inoue <Inoue@tpf.co.jp>
Re: A bad behavior under autocommit off mode Bruce Momjian <pgman@candle.pha.pa.us>
Tom Lane writes:

> That seems excessive.  There is a case for reporting autocommit (if
> we don't decide to remove it altogether, which is still an open
> argument).  I have not heard any complaints suggesting that we need any
> others.

If we don't remove autocommit altogether on the server-side, then this
whole exercise is nearly pointless, because it still won't allow a
noninteractive libpq application to go in, do PQexec("command") and quit.
Each such application would still have to either set the autocommit state
explicitly first or, the new proposal, query the autocommit status and
then issue a COMMIT or not, as needed.

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: Neil Conway
Дата:
От: Peter Eisentraut
Дата:
FAQ