Configurable path to look up dynamic libraries - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Configurable path to look up dynamic libraries
Date
Msg-id Pine.LNX.4.30.0105151719210.757-100000@peter.localdomain
Whole thread Raw
Responses Re: Configurable path to look up dynamic libraries
List 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@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Roberto Mello
Date:
Subject: Re: Internet is putting lot of competition fire & heat under Microsoft SQL Server
Next
From: Jan Wieck
Date:
Subject: Re: Re: Outstanding patches