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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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-20 21:43:45
Message-ID: 5611.1011563025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> 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.

> RTLD_LAZY allows you to load shared library modules that contain circular
> references.

Does that not work with RTLD_NOW? I should think it would. In any
case, I'm doubtful that we care.

> 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.

A database restart is always very bad news in my mind. You might be
right that it's too risky to make such a change now for 7.2, but I still
absolutely want to do it for 7.3.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2002-01-20 21:50:42 Re: PostgreSQL Licence: GNU/GPL
Previous Message Tom Lane 2002-01-20 21:33:30 Re: pltlc and pltlcu problems

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2002-01-20 22:17:57 Re: pltlc and pltlcu problems
Previous Message Tom Lane 2002-01-20 21:33:30 Re: pltlc and pltlcu problems