Re: TODO: Add a GUC to control whether BEGIN inside
От | Bruce Momjian |
---|---|
Тема | Re: TODO: Add a GUC to control whether BEGIN inside |
Дата | |
Msg-id | 200612281757.kBSHvPP15655@momjian.us обсуждение исходный текст |
Ответ на | TODO: Add a GUC to control whether BEGIN inside a transcation should abort the transaction. ("Joshua D. Drake" <jd@commandprompt.com>) |
Ответы |
Re: TODO: Add a GUC to control whether BEGIN inside
Re: TODO: Add a GUC to control whether BEGIN inside |
Список | pgsql-hackers |
Joshua D. Drake wrote: > Hello, > > Is this really a TODO or is this someone being overzealous with the TODO > list? > Add a GUC to control whether BEGIN inside a transcation should abort > the transaction. Well, right now, BEGIN inside a transaction just issues a warning: test=> BEGIN;BEGINtest=> BEGIN;WARNING: there is already a transaction in progressBEGINtest=> SELECT 1; ?column?---------- 1(1 row)test=> COMMIT;COMMIT I think you can make the case that this should be an error, or at least that's how it got on the TODO list. I can always remove it if people don't want the item completed. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-hackers по дате отправления: