Re: loading libraries on Postmaster startup
От | Darko Prenosil |
---|---|
Тема | Re: loading libraries on Postmaster startup |
Дата | |
Msg-id | 200305281919.25088.darko.prenosil@finteh.hr обсуждение исходный текст |
Ответ на | Re: loading libraries on Postmaster startup (Joe Conway <mail@joeconway.com>) |
Список | pgsql-hackers |
On Thursday 13 February 2003 22:24, Joe Conway wrote: > 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, did You got the answer to this question ? I would like to acomplish something like this:execute some stored procedure on backend(not postmaster) start and exit. So, it is not the same reason, but it is still the same question. Regards !
В списке pgsql-hackers по дате отправления: