From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Brent Verner <brent@rcfile.org>
Cc: Murray Prior Hobbs <murray@efone.com>
Cc: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
Date: Sun, 20 Jan 2002 16:11:01 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0201201604510.712-100000@peter.localdomain> (raw)
In-Reply-To: <4640.1011552017@sss.pgh.pa.us>
Tom Lane writes:
> Unless I hear a credible counter-argument, I am going to change
> RTLD_LAZY to RTLD_NOW in src/backend/port/dynloader/linux.h. I have
> tested that and it produces a clean error with no backend crash.
>
> What I would *like* to do is make the same change in all the
> port/dynloader files that reference RTLD_LAZY:
RTLD_LAZY allows you to load shared library modules that contain circular
references. I don't know if that's useful or just stupid, but on some
systems the shared library models are pretty, um, different so that the
need for this might arise from time to time.
> 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 really don't think this is a good change to make now, as we don't know
how well all of this is supported, and the failure scenario is annoying
but not really that harmful.
--
Peter Eisentraut peter_e@gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, brent@rcfile.org, murray@efone.com, lamar.owen@wgcr.org, pgsql-hackers@postgresql.org
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
In-Reply-To: <Pine.LNX.4.30.0201201604510.712-100000@peter.localdomain>
References: <4640.1011552017@sss.pgh.pa.us> <Pine.LNX.4.30.0201201604510.712-100000@peter.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox