Re: segmentation fault postgres 9.3.5 core dump perlu related ?

Поиск
Список
Период
Сортировка
От 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 ?  (Alex Hunsaker <badalex@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Day, David"
Дата:
Сообщение: Re: segmentation fault postgres 9.3.5 core dump perlu related ?
Следующее
От: Roger Pack
Дата:
Сообщение: 4B row limit for CLOB tables