Re: SET autocommit begins transaction?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: SET autocommit begins transaction?
Дата
Msg-id 200209182317.g8INH8V08325@candle.pha.pa.us
обсуждение исходный текст
Ответ на SET autocommit begins transaction?  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: SET autocommit begins transaction?  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-bugs
Thomas Lockhart wrote:
> ...
> > I think if we special case autocommit we have to force it to start a
> > transaction.
>
> Be aware that "SET AUTOCOMMIT" does *not* start a transaction in other
> systems (at least in Ingres, where I first ran into the feature).
>
> This case is illustrating a general issue with trying to bracket
> variables within transactions; the "special case" is that if a
> transaction is not open then the change should be global across
> transactions.
>
> Any counterexamples would argue for two separate behaviors, not for
> shoehorning everything into one, uh, shoe.

I am fine with special casing autocommit.  Is that what you are
suggesting?

--
  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, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: SET autocommit begins transaction?
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: SET autocommit begins transaction?