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

From Mario Weilguni
Subject Re: BEGIN inside transaction should be an error
Date
Msg-id 200605101231.52545.mweilguni@sime.com
Whole thread Raw
In response to Re: BEGIN inside transaction should be an error  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BEGIN inside transaction should be an error
List pgsql-hackers
Am Mittwoch, 10. Mai 2006 10:59 schrieb Peter Eisentraut:
> Am Mittwoch, 10. Mai 2006 10:10 schrieb Martijn van Oosterhout:
> > You want to make a GUC that makes:
> >
> > BEGIN;
> > BEGIN;
> >
> > Leave you with an aborted transaction? That seems like a singularly
> > useless feature...
>
> If a command doesn't do what it is supposed to do, then it should be an
> error. That seems like a throroughly useful feature to me.

Maybe. I just want to emphasize that it will break existing applications.



pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: BEGIN inside transaction should be an error
Next
From: Mario Weilguni
Date:
Subject: Re: BEGIN inside transaction should be an error