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

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

OK, I was just throwing out the point in case it was significant.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "Dominic J. Eidson"
Дата:
Сообщение: Re: [GENERAL] PostgreSQL Licence: GNU/GPL
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: pltlc and pltlcu problems