| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] Auto-reload of dynamic libraries |
| Дата | |
| Msg-id | 27176.1020526605@sss.pgh.pa.us обсуждение |
| Ответ на | Auto-reload of dynamic libraries (Gavin Sherry <swm@linuxworld.com.au>) |
| Список | pgsql-hackers |
Gavin Sherry <swm@linuxworld.com.au> writes:
> This small patch reloads dynamic libraries whose modification time is
> greater than that at the time it was initially loaded. This means that
> connections do not need to be reinitialised when a library is recompiled.
Is that a good idea? It's easy to imagine cases where a library is not
designed to be unloaded (eg, it hooks into things in the main backend
and doesn't have a way to unhook). I'd rather stick with the current
behavior of unload/reload only when specifically commanded to.
The patch as given fails in the same inode/different path case, btw.
I think you wanted to make the test further down.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера