Re: RTLD_GLOBAL (& JIT inlining)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RTLD_GLOBAL (& JIT inlining)
Дата
Msg-id 1112.1519401923@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RTLD_GLOBAL (& JIT inlining)  (Andres Freund <andres@anarazel.de>)
Ответы Re: RTLD_GLOBAL (& JIT inlining)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> First question:
> Why do we currently use RTLD_GLOBAL loading extension libraries, but
> take pains ([1]) to make things work without RTLD_GLOBAL.

As mentioned in that very message, the point was better missing-symbol
error detection, not RTLD_GLOBAL/LOCAL per se.

> I think using RTLD_LOCAL on most machines would be a much better
> idea. I've not found proper explanations why GLOBAL is used. We started
> using it ages ago, with [2], but that commit contains no explanation,
> and a quick search didn't show up anything either. Peter?

https://www.postgresql.org/message-id/7142.1277772335@sss.pgh.pa.us

My position is the same as then: I'm happy to remove it if it doesn't
break things anywhere ... but it seems like it would cause problems for
plpython, unless their behavior has changed since 2001 which is
surely possible.

            regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Translations contributions urgently needed
Следующее
От: "Tels"
Дата:
Сообщение: Re: Translations contributions urgently needed