Re: adding a user library path..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: adding a user library path..
Дата
Msg-id 4989.1214265185@sss.pgh.pa.us
обсуждение исходный текст
Ответ на adding a user library path..  ("P Kapat" <kap4lin@gmail.com>)
Ответы Re: adding a user library path..
Список pgsql-admin
"P Kapat" <kap4lin@gmail.com> writes:
> If I understand correctly, the shared libraries for postgis should be
> inside $PKGLIBDIR for the server to see them. Is there any userland
> configuration (like adding $HOME/usr/local/lib to ~/.psqlrc) that will
> solve this?

Do you have superuser privs on the database?  If so, you could try
altering the SQL files for postgis etc to reference the shared libraries
where you put them.  But that likely won't work if SELinux is enabled
on the system.

If you don't have superuser then you have no hope of installing these
modules without admin intervention, because you can't execute the CREATE
FUNCTION commands, independently of where the shlibs are.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "P Kapat"
Дата:
Сообщение: adding a user library path..
Следующее
От: "P Kapat"
Дата:
Сообщение: Re: adding a user library path..