Re: loading libraries on Postmaster startup

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: loading libraries on Postmaster startup
Дата
Msg-id 3E4C0CF2.1010401@joeconway.com
обсуждение исходный текст
Ответ на Re: loading libraries on Postmaster startup  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: loading libraries on Postmaster startup  (Darko Prenosil <darko.prenosil@finteh.hr>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Joe Conway writes:
> 
>>So I wrote a quick hack to load and initialize the library on postmaster
>>startup.
> 
> On glibc systems you can probably do this using the environment variable
> LD_PRELOAD.  I guess others have a similar mechanism.
> 

Hmmm. I could try that. But I found during testing that the loading was 
actually not the slow part, it was running the initialization function 
for the interpreter that was. I wonder if there is there any way to get 
an initialization function to automatically execute?

Joe



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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: location of the configuration files
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Brain dump: btree collapsing