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

From Joe Conway
Subject Re: loading libraries on Postmaster startup
Date
Msg-id 3E4C0CF2.1010401@joeconway.com
Whole thread Raw
In response to Re: loading libraries on Postmaster startup  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: loading libraries on Postmaster startup
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: location of the configuration files
Next
From: Hannu Krosing
Date:
Subject: Re: Brain dump: btree collapsing