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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Дата
Msg-id 5611.1011563025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pltlc and pltlcu problems