Re: [HACKERS] loading libraries on Postmaster startup

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [HACKERS] loading libraries on Postmaster startup
Дата
Msg-id 3E590E8B.3010006@joeconway.com
обсуждение исходный текст
Ответ на Re: [HACKERS] loading libraries on Postmaster startup  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [HACKERS] loading libraries on Postmaster startup  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Joe Conway writes:
>
>>Here is a patch for the above, including a documentation update. It
>>creates a new GUC variable "preload_libraries", that accepts a list in
>>the form:
>
> Have you tried using existing dynamic linker functionality instead of
> putting already existing functionality into PostgreSQL?
>

Sorry for my ignorance, but can you be more specific?

Are you referring to LD_PRELOAD? As I said before, it doesn't help
preloading the library if I can't also run an initialization function.
Do you know a way to do that? If so, is it portable?

Joe


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Feature list correction
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] loading libraries on Postmaster startup