Re: State of PL/Python build - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: State of PL/Python build
Date
Msg-id 200105130222.f4D2M4823134@candle.pha.pa.us
Whole thread Raw
In response to State of PL/Python build  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> The real fix is to change the dynamic loader(s) to make use of the
> RTLD_GLOBAL flag, which makes all dlopen'ed symbols available to everyone.
> Personally, I don't see any harm in using this option.  Does anyone else?
> (In fact, if someone were to create an untrusted PL/Perl language he would
> probably run into this problem as well.)

I have RTLD_GLOBAL on BSD/OS, and it calls it a Linux-compatibility
flag.  I am pretty amazed you got it working without RTLD_GLOBAL.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [COMMITTERS] pgsql/ /README /configure /configure.in /regis ...
Next
From: Bruce Momjian
Date:
Subject: Re: Re: PL/Python build