Re: BEGIN inside transaction should be an error

Поиск
Список
Период
Сортировка
От Mario Weilguni
Тема Re: BEGIN inside transaction should be an error
Дата
Msg-id 200605101231.52545.mweilguni@sime.com
обсуждение исходный текст
Ответ на Re: BEGIN inside transaction should be an error  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: BEGIN inside transaction should be an error  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список 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 по дате отправления:

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