Re: loading libraries on Postmaster startup - Mailing list pgsql-hackers

From Darko Prenosil
Subject Re: loading libraries on Postmaster startup
Date
Msg-id 200305281919.25088.darko.prenosil@finteh.hr
Whole thread Raw
In response to Re: loading libraries on Postmaster startup  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
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 !


pgsql-hackers by date:

Previous
From: Alvaro Herrera Munoz
Date:
Subject: Re: Help needed in testing my code.
Next
From: Srikanth M
Date:
Subject: DATA-CUBE in Postgresql.