Re: Locating sharedir in PostgreSQL on Windows

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Locating sharedir in PostgreSQL on Windows
Дата
Msg-id 200711262045040000@233658461
обсуждение исходный текст
Ответ на Locating sharedir in PostgreSQL on Windows  (Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>)
Ответы Re: Locating sharedir in PostgreSQL on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: [GENERAL] Empty arrays with ARRAY[]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Empty arrays with ARRAY[]