| От | Peter Eisentraut |
|---|---|
| Тема | Re: nested transaction |
| Дата | |
| Msg-id | 200408101635.20690.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: nested transaction (Csaba Nagy <nagy@ecircle-ag.com>) |
| Список | pgsql-general |
Am Dienstag, 10. August 2004 15:17 schrieb Csaba Nagy: > > ... but, how can pA detect that there is an open transaction? > > If I'm not mistaken, there alwasy must be a transaction in process, even > if it is an implicit one, so you can alwys count on a transaction being > opened. Correct. The only variation is that the top-level query processor will start a transaction implicitly and commit it after the statement if you don't start one explicitly. But functions are always in some transaction, and need not care whether it was explicit or not. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера