> ------- Original Message -------
> From: Peter Eisentraut <[EMAIL PROTECTED]>
> To: Dave Page <[EMAIL PROTECTED]>
> 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 simplifies version upgrades if the new 
installation is at a different location. The actual directory that $libdir 
stands for can be found out with the command pg_config --pkglibdir.
==========

That seems to have been there since at least 7.2.

/D

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to