| От | Tom Lane |
|---|---|
| Тема | Re: SAVEPOINT and FOR UPDATE |
| Дата | |
| Msg-id | 25195.1154636015@sss.pgh.pa.us обсуждение |
| Ответ на | SAVEPOINT and FOR UPDATE ("Thomas F. O'Connell" <tfo@sitening.com>) |
| Ответы |
Re: SAVEPOINT and FOR UPDATE
|
| Список | pgsql-general |
"Thomas F. O'Connell" <tfo@sitening.com> writes:
> I sort of expected the release of the savepoint to be tantamount to a
> commit of the subtransaction, but it doesn't appear to have been.
But you still haven't committed the outer transaction: rolling it back
must undo the effects of the subtransaction, no? So a "release" merely
destroys the separate identity of the subtransaction and assigns all its
effects (including locks) to the parent transaction.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера