Re: Disable Transaction - plans ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disable Transaction - plans ?
Дата
Msg-id 26901.1003967702@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Disable Transaction - plans ?  (Mike Mascari <mascarm@mascari.com>)
Ответы Re: Disable Transaction - plans ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Mike Mascari <mascarm@mascari.com> writes:
> In fact, some could argue that the default behavior of PostgreSQL
> should be changed (or at least have an option) to behave like
> Oracle, where a transaction is implicitly begun at the first
> encounter of an INSERT/UPDATE/DELETE - or in PostgreSQL's case, the
> first submitted statement.

If we put in an implicit BEGIN at the start of a connection, when
does it get committed?  We certainly dare not do an implicit COMMIT
when the client disconnects, but without that the change would
completely break a lot of existing applications.

Personally I'm perfectly happy with the notion that clients who want
this behavior can send a BEGIN for themselves ...

            regards, tom lane

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

Предыдущее
От: "Markus Meyer"
Дата:
Сообщение: Using PostgreSQL and Access?
Следующее
От: "Aasmund Midttun Godal"
Дата:
Сообщение: Re: Can not input large text data