Re: [HACKERS] loading libraries on Postmaster startup

From: Joe Conway <mail(at)joeconway(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] loading libraries on Postmaster startup
Date: 2003-02-23 18:10:19
Message-ID: 3E590E8B.3010006@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut wrote:
> Joe Conway writes:
>
>>Here is a patch for the above, including a documentation update. It
>>creates a new GUC variable "preload_libraries", that accepts a list in
>>the form:
>
> Have you tried using existing dynamic linker functionality instead of
> putting already existing functionality into PostgreSQL?
>

Sorry for my ignorance, but can you be more specific?

Are you referring to LD_PRELOAD? As I said before, it doesn't help
preloading the library if I can't also run an initialization function.
Do you know a way to do that? If so, is it portable?

Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sumaira Ali 2003-02-23 18:19:51 locking mechanism
Previous Message Tom Lane 2003-02-23 18:00:36 Re: pg_dump / restore of empty database gives errors

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-23 20:00:12 Re: [HACKERS] loading libraries on Postmaster startup
Previous Message Peter Eisentraut 2003-02-23 16:16:56 Re: Feature list correction