Re: A bad behavior under autocommit off mode

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: A bad behavior under autocommit off mode
Дата
Msg-id 3E557E97.F88A4BA9@tpf.co.jp
обсуждение исходный текст
Ответ на Re: A bad behavior under autocommit off mode  ("Hiroshi Inoue" <inoue@tpf.co.jp>)
Ответы Re: A bad behavior under autocommit off mode
Список pgsql-hackers
Tom Lane wrote:
> 
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Anyway should 'set autocommit to off;commit' cause
> > a warning or an error in the first place ?
> 
> IIRC, the SET does *not* start a transaction,

Yes but doesn't autocommit-off mode mean that
it implicitly begins a transaction in suitable
places ? For example, 'set autocommit to off;
declare .. cursor ..' works though it never
work without BEGIN under autocommit-on mode.

> so the COMMIT should raise
> a warning.

regards,
Hiroshi Inouehttp://www.geocities.jp/inocchichichi/psqlodbc/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A bad behavior under autocommit off mode
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: request for sql3 compliance for the update command