Re: BEGIN inside transaction should be an error - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: BEGIN inside transaction should be an error
Date
Msg-id e51f66da0605110055l5165f15dx2abdff88f6b4c679@mail.gmail.com
Whole thread Raw
In response to Re: BEGIN inside transaction should be an error  (Martijn van Oosterhout <kleptog@svana.org>)
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: .pgpass file and unix domain sockets
Next
From: "Zeugswetter Andreas DCP SD"
Date:
Subject: Re: [PERFORM] Big IN() clauses etc : feature proposal