Re: Is SPI safe to use in multi-threaded PL/Java? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Is SPI safe to use in multi-threaded PL/Java?
Date
Msg-id 17633.1394296101@sss.pgh.pa.us
Whole thread Raw
In response to Is SPI safe to use in multi-threaded PL/Java?  ("MauMau" <maumau307@gmail.com>)
Responses Re: Is SPI safe to use in multi-threaded PL/Java?  ("MauMau" <maumau307@gmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Shave a few instructions from child-process startup sequence
Next
From: Tom Lane
Date:
Subject: Re: Little confusing things about client_min_messages.