Re: BUG #5566: High levels of savepoint nesting trigger stack overflow in AssignTransactionId
В списке pgsql-bugs по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: BUG #5566: High levels of savepoint nesting trigger stack overflow in AssignTransactionId |
| Дата | |
| Msg-id | 1279562162-sup-9982@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Re: BUG #5566: High levels of savepoint nesting trigger stack overflow in AssignTransactionId (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: BUG #5566: High levels of savepoint nesting trigger stack overflow in AssignTransactionId
|
| Список | pgsql-bugs |
Excerpts from Andres Freund's message of lun jul 19 11:58:06 -0400 2010: > On Monday 19 July 2010 17:26:25 Hans van Kranenburg wrote: > > When issuing an update statement in a transaction with ~30800 levels of > > savepoint nesting, (which is insane, but possible), postgresql segfaults > > due to a stack overflow in the AssignTransactionId function, which > > recursively assign transaction ids to parent transactions. > It seems easy enough to throw a check_stack_depth() in there - survives make > check here. I wonder if it would work to deal with the problem non-recursively instead. We don't impose subxact depth restrictions elsewhere, why start now?
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера