From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Auto-reload of dynamic libraries |
Date: | 2002-05-04 11:05:35 |
Message-ID: | Pine.LNX.4.21.0205042045040.27297-200000@linuxworld.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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
Attachment | Content-Type | Size |
---|---|---|
dfmgr.c.diff | text/plain | 2.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Joel Burton | 2002-05-04 13:33:49 | Re: HEADS UP: Win32/OS2/BeOS native ports |
Previous Message | Matthew Kirkwood | 2002-05-04 09:59:20 | Re: HEADS UP: Win32/OS2/BeOS native ports |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-05-04 15:36:45 | Re: [PATCHES] Auto-reload of dynamic libraries |
Previous Message | Neil Conway | 2002-05-03 16:12:41 | fix for typo in docs |