Re: [Fwd: Re: [JDBC] Patch for handling "autocommit=false"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [Fwd: Re: [JDBC] Patch for handling "autocommit=false"
Дата
Msg-id 200210110517.g9B5H2w25526@candle.pha.pa.us
обсуждение исходный текст
Ответ на [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]  (Barry Lind <barry@xythos.com>)
Список pgsql-hackers
Barry Lind wrote:
> Did anything come of this discussion on whether SET initiates a 
> transaction or not?

SET does not start a multi-statement transaction when autocommit is off.

> In summary what is the right way to deal with setting autocommit in clients?

I guess just 'set autocommit to on' will do it.


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Barry Lind
Дата:
Сообщение: [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]
Следующее
От: Mario Weilguni
Дата:
Сообщение: number of attributes in page files?