From: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: David Terrell <dbt@meat.net>
Cc: 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: Mon, 21 Jan 2002 11:50:26 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0201211148030.687-100000@peter.localdomain> (raw)
In-Reply-To: <200201211309.g0LD9a421146@candle.pha.pa.us>
Bruce Momjian writes:
> Interesting LAZY has better efficiency. Seems we should just keep LAZY
> as our default for future releases and tell people if they link to bad
> object files, they should expect trouble.
In practice, we load object files only if we call the function, so symbol
resolution happens either way briefly after loading. RTLD_NOW includes
some overhead because it checks symbols that we might not end up needing,
but for the typical PostgreSQL extension module, that should really not
matter.
--
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, pgman@candle.pha.pa.us, chriskl@familyhealth.com.au, dbt@meat.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.0201211148030.687-100000@peter.localdomain>
References: <200201211309.g0LD9a421146@candle.pha.pa.us> <Pine.LNX.4.30.0201211148030.687-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