Re: loading libraries on Postmaster startup

From: Joe Conway <mail(at)joeconway(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: loading libraries on Postmaster startup
Date: 2003-02-13 21:24:02
Message-ID: 3E4C0CF2.1010401@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-13 21:25:24 Re: loading libraries on Postmaster startup
Previous Message Vince Vielhaber 2003-02-13 21:21:48 Re: location of the configuration files

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-13 21:25:24 Re: loading libraries on Postmaster startup
Previous Message Tom Lane 2003-02-13 18:30:50 Re: [HACKERS] parse_expr.c another type produced by transformations?