Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "David Terrell" <dbt(at)meat(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Brent Verner" <brent(at)rcfile(dot)org>, "Murray Prior Hobbs" <murray(at)efone(dot)com>, "Lamar Owen" <lamar(dot)owen(at)wgcr(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Date: 2002-01-21 08:21:26
Message-ID: GNELIHDDFBOCMGBFGEFOGEBPCBAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

> On Sun, Jan 20, 2002 at 01:40:17PM -0500, Tom Lane wrote:
> > What I would *like* to do is make the same change in all the
> > port/dynloader files that reference RTLD_LAZY:
> > src/backend/port/dynloader/openbsd.h
>
> I can't speak for other platforms but openbsd only has RTLD_LAZY.

FreeBSD supports both:

RTLD_LAZY Each external function reference is resolved when the func-
tion is first called.

RTLD_NOW All external function references are bound immediately by
dlopen().

RTLD_LAZY is normally preferred, for reasons of efficiency. However,
RTLD_NOW is useful to ensure that any undefined symbols are discovered

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2002-01-21 10:39:05 Re: [HACKERS] PostgreSQL Licence: GNU/GPL
Previous Message David Terrell 2002-01-21 08:16:06 Re: [GENERAL] PostgreSQL Licence: GNU/GPL

Browse pgsql-sql by date

  From Date Subject
Next Message Urs Steiner 2002-01-21 09:03:01 list triggers ?
Previous Message David Terrell 2002-01-21 08:12:47 Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)