Re: Locating sharedir in PostgreSQL on Windows - Mailing list pgsql-hackers

From Dave Page
Subject Re: Locating sharedir in PostgreSQL on Windows
Date
Msg-id 200711262045040000@233658461
Whole thread Raw
In response to Locating sharedir in PostgreSQL on Windows  (Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>)
Responses Re: Locating sharedir in PostgreSQL on Windows
List pgsql-hackers

> ------- Original Message -------
> From: Peter Eisentraut <peter_e@gmx.net>
> To: Dave Page <dpage@postgresql.org>
> Sent: 26/11/07, 20:14:25
> Subject: Re: [HACKERS] Locating sharedir in PostgreSQL on Windows
> 
> Dave Page wrote:
> > How does that work with the stuff that goes into directories relative to
> > $libdir (per documented recommendations), without creating easy-to-break
> > paths like $libdir/../../MyAddon/8.3/MyAddon.dll?
> 
> Which documented recommendation do you speak of?
> 

http://www.postgresql.org/docs/8.3/static/xfunc-c.html states:

==========
It is recommended to locate shared libraries either relative to $libdir or through the dynamic library path. This
simplifiesversion upgrades if the new installation is at a different location. The actual directory that $libdir stands
forcan be found out with the command pg_config --pkglibdir.
 
==========

That seems to have been there since at least 7.2.

/D


pgsql-hackers by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: [GENERAL] Empty arrays with ARRAY[]
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Empty arrays with ARRAY[]