Auto-reload of dynamic libraries

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Auto-reload of dynamic libraries
Дата
Msg-id Pine.LNX.4.21.0205042045040.27297-200000@linuxworld.com.au
обсуждение исходный текст
Ответы Re: [PATCHES] Auto-reload of dynamic libraries  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.

There is a problem with this, however: if dlopen()'ing the new patch
fails, the functions registered in the system against this patch will also
presumably break. This is, of course, what would happened if, a new
connection came in after the library was broken and it attempted to use
any of the functions in it.

Any ideas about ways around this? Need there be? Is this desired
behaviour?

Gavin

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

Предыдущее
От: Matthew Kirkwood
Дата:
Сообщение: Re: HEADS UP: Win32/OS2/BeOS native ports
Следующее
От: "Joel Burton"
Дата:
Сообщение: Re: HEADS UP: Win32/OS2/BeOS native ports