Re: BEGIN inside transaction should be an error

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: BEGIN inside transaction should be an error
Дата
Msg-id e51f66da0605110055l5165f15dx2abdff88f6b4c679@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BEGIN inside transaction should be an error  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
On 5/11/06, Martijn van Oosterhout <kleptog@svana.org> wrote:
> On Wed, May 10, 2006 at 04:03:51PM -0500, Jim C. Nasby wrote:
> > If the existing application is trying to start a new transaction from
> > within an existing one, I'd say it's already broken and we're just
> > hiding that fact.
>
> Well maybe, except the extra BEGIN is harmless.

It _not_ harmless as it will be probably followed by 'extra' commit.
Those few cases where it does not happen do not matter in light
of cases where it happens.


--
marko


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: .pgpass file and unix domain sockets
Следующее
От: "Zeugswetter Andreas DCP SD"
Дата:
Сообщение: Re: [PERFORM] Big IN() clauses etc : feature proposal