Re: BEGIN inside transaction should be an error

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BEGIN inside transaction should be an error
Дата
Msg-id 200605101059.52837.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: BEGIN inside transaction should be an error  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: BEGIN inside transaction should be an error
Re: BEGIN inside transaction should be an error
Список 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 по дате отправления:

Предыдущее
От: Mario Weilguni
Дата:
Сообщение: Re: BEGIN inside transaction should be an error
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: BEGIN inside transaction should be an error