Re: max_stack_depth problem though query is substantially smaller
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: max_stack_depth problem though query is substantially smaller |
| Дата | |
| Msg-id | 12324.1460125227@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | max_stack_depth problem though query is substantially smaller ("Charles Clavadetscher" <clavadetscher@swisspug.org>) |
| Ответы |
Re: max_stack_depth problem though query is substantially
smaller
|
| Список | pgsql-general |
"Charles Clavadetscher" <clavadetscher@swisspug.org> writes:
> When R processes the daily time serie we get a stack size exceeded
error, followed by the hint to increase the max_stack_depth.
Postgres doesn't generally allocate large values on the stack, and I doubt
that R does either. Almost certainly, what is causing this is not data
size per se but unreasonable call nesting depth in your R code. You may
have a function that's actually in infinite recursion, or maybe it's
recursing to a depth governed by the number of data elements. If so,
consider revising it into iteration with an explicitly-represented state
stack.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера