Re: [BUGS] Patch to allow C extension modules to initialize/finish
В списке pgsql-hackers по дате отправления:
| От | Joe Conway |
|---|---|
| Тема | Re: [BUGS] Patch to allow C extension modules to initialize/finish |
| Дата | |
| Msg-id | 44D27C75.4030606@joeconway.com обсуждение исходный текст |
| Ответ на | Re: [BUGS] Patch to allow C extension modules to initialize/finish (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [BUGS] Patch to allow C extension modules to initialize/finish
|
| Список | pgsql-hackers |
Tom Lane wrote: > > Also, if we do this we probably ought to remove the special-purpose > hack for preload_libraries to specify an init function --- it should > just happen by default. Any objections to simplifying that? > The original idea of using the init function with preload_libraries was to eliminate library startup that was expensive and only needed once. Specifically in the case of libR (and presumably other libraries as well), the init time was much greater than the actual library load time. If it is removed from preload_libraries, then we'll pay that price for every backend startup, no? Joe
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера