Re: Segmentation fault when max_parallel degree is very High
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Segmentation fault when max_parallel degree is very High |
| Дата | |
| Msg-id | 6794.1462374069@sss.pgh.pa.us обсуждение |
| Ответ на | Segmentation fault when max_parallel degree is very High (Dilip Kumar <dilipbalaut@gmail.com>) |
| Ответы |
Re: Segmentation fault when max_parallel degree is very High
Re: Segmentation fault when max_parallel degree is very High |
| Список | pgsql-hackers |
Dilip Kumar <dilipbalaut@gmail.com> writes:
> When parallel degree is set to very high say 70000, there is a segmentation
> fault in parallel code,
> and that is because type casting is missing in the code..
I'd say the cause is not having a sane range limit on the GUC.
> or corrupt some memory. Need to typecast
> *i * PARALLEL_TUPLE_QUEUE_SIZE --> (Size)i * **PARALLEL_TUPLE_QUEUE_SIZE *and
> this will fix
That might "fix" it on 64-bit machines, but not 32-bit.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера