Re: segmentation fault postgres 9.3.5 core dump perlu related ?
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: segmentation fault postgres 9.3.5 core dump perlu related ? |
| Дата | |
| Msg-id | 5285.1422546007@sss.pgh.pa.us обсуждение |
| Ответ на | Re: segmentation fault postgres 9.3.5 core dump perlu related ? ("Day, David" <dday@redcom.com>) |
| Ответы |
Re: segmentation fault postgres 9.3.5 core dump perlu
related ?
|
| Список | pgsql-general |
"Day, David" <dday@redcom.com> writes:
> I am amending the info threads info there are two threads.
Well, that's your problem right there. There should never, ever be more
than one thread in a Postgres backend process: none of the code in the
backend is meant for a multithreaded situation, and so there are no
interlocks on global variable access etc.
Presumably what is happening is that your plperlu function is somehow
managing to spawn an additional execution thread and let that return
control as well as the original thread. You need to prevent that.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера