Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Date
Msg-id 200201201910.g0KJArH15682@candle.pha.pa.us
Whole thread Raw
In response to RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> However I'm a bit scared to do that at this late stage of the release
> cycle, because perhaps some of these platforms don't support the full
> dlopen() API.  Comments?  Can anyone test whether RTLD_NOW works on
> any of the above-mentioned ports?

I can confirm that RTLD_NOW exists on BSD/OS.  Can we do:
#ifdef RTLD_NOW use RTLD_NOW #else whatever_is_there_now#endif

in those ports at least for 7.2 so we can be sure we don't get failures.


--  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: Tom Lane
Date:
Subject: Re: pltlc and pltlcu problems
Next
From: alavoor
Date:
Subject: PostgreSQL Licence: GNU/GPL