Configurable path to look up dynamic libraries

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Configurable path to look up dynamic libraries
Date: 2001-05-15 15:40:11
Message-ID: Pine.LNX.4.30.0105151719210.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

About to be implemented, for your approval...

Variable name: dynamic_library_path

Permissions: superuser

Default value: empty string

Specification:

When the dynamic loader attempts to load a file (initiated by create
function, for example) and the file name does not contain a slash
(anywhere) and this variable is not set to the empty string, the dynamic
loader will look for the file in the search path specified by this
variable.

The search path is the usual colon-separated style. Empty components will
be ignored. If the directory name is not absolute, an error will be
raised.

If no appropriate file is found in this path walk, the dynamic loader will
try to load the file as given, which may invoke a system-dependent lookup
mechanism (e.g., LD_LIBRARY_PATH).

(The fine points of this specification are intended to be compatible with
Libtool's libltdl dynamic loading interface.)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-05-15 15:41:51 Re: Re: Outstanding patches
Previous Message Trygve Falch 2001-05-15 15:24:33 SELECT from a table in another database