On Thursday 13 February 2003 22:24, Joe Conway wrote:
Peter Eisentraut wrote:
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?
Peter Eisentraut wrote:
Joe Conway writes:
LD_PRELOAD. I guess others have a similar mechanism.
Hmmm. I could try that. But I found during testing that the loading wasSo 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 variablestartup.
LD_PRELOAD. I guess others have a similar mechanism.
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?
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 !