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

From Peter Eisentraut
Subject Re: BEGIN inside transaction should be an error
Date
Msg-id 200605101059.52837.peter_e@gmx.net
Whole thread Raw
In response to Re: BEGIN inside transaction should be an error  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: BEGIN inside transaction should be an error
Re: BEGIN inside transaction should be an error
List pgsql-hackers
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.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

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