Re: State of PL/Python build

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, Andrew Bosma <andrew(at)corvus(dot)biomed(dot)brown(dot)edu>
Subject: Re: State of PL/Python build
Date: 2001-05-13 02:22:04
Message-ID: 200105130222.f4D2M4823134@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-13 02:27:11 Re: Re: [COMMITTERS] pgsql/ /README /configure /configure.in /regis ...
Previous Message Tom Lane 2001-05-13 02:21:42 Re: Re: [COMMITTERS] pgsql/ /README /configure /configure.in /regis ...