| От | Greg Stark |
|---|---|
| Тема | Re: Nested xacts: looking for testers and review |
| Дата | |
| Msg-id | 87isdyu3pw.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: Nested xacts: looking for testers and review ("Bort, Paul" <pbort@tmwsystems.com>) |
| Список | pgsql-hackers |
"Bort, Paul" <pbort@tmwsystems.com> writes: > Would it make more sense to specify at the time the optional subtransaction > is committed that it is not critical to the completion of the outer > transaction? > > BEGIN; > BEGIN; > DROP TABLE foo; > COMMIT NON_CRITICAL; > CREATE TABLE foo (i int); > COMMIT; I assumed that was what was being proposed. It doesn't make sense to have a single flag on the entire outer transaction since there could have been multiple inner transactions, not all of which are unimportant. Hm, perhaps a parallel to "CREATE OR REPLACE" would be "COMMIT OR ROLLBACK". I'm not sure if I'm serious about that or joking though. -- greg
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера