Re: Is SPI safe to use in multi-threaded PL/Java?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is SPI safe to use in multi-threaded PL/Java?
Дата
Msg-id 17633.1394296101@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is SPI safe to use in multi-threaded PL/Java?  ("MauMau" <maumau307@gmail.com>)
Ответы Re: Is SPI safe to use in multi-threaded PL/Java?  ("MauMau" <maumau307@gmail.com>)
Список pgsql-hackers
"MauMau" <maumau307@gmail.com> writes:
> Is PL/Java safe to use in terms of its threading design?  I'm going to ask 
> the PL/Java community about this too, but I'd ask for opinions here because 
> I believe people in this community have seasoned knowledge of OS and SPI.

> To put the question in other words, is it safe to load a multi-threaded PL 
> library in the single-threaded backend process, if the PL only calls SPI in 
> the main thread?

When it breaks, we're not going to be concerned.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Shave a few instructions from child-process startup sequence
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Little confusing things about client_min_messages.