| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера