On Thursday 13 February 2003 22:24, Joe Conway wrote: > 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, did You got the answer to this question ? I would like to acomplish something like this: execute some stored procedure on backend(not postmaster) start and exit. So, it is not the same reason, but it is still the same question. Regards ! ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]