Re: [GENERAL] Shared Objects (Dynamic loading)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Shared Objects (Dynamic loading)
Дата
Msg-id 6020.1156783506@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Shared Objects (Dynamic loading)  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-novice
"Jasbinder Bali" <jsbali@gmail.com> writes:
> Also, when i say LOAD 'parser' where parser.so is the shared object i've
> loaded dynamically
> using CREATE FUNCTION, its says
> ERROR:  could not access file "parser": No such file or directory
> Why would it give me this error?

Probably because you didn't give it a path to the file.  You need either
an absolute path or something involving the special symbol $libdir.
This is not different from what's required in CREATE FUNCTION.

            regards, tom lane

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

Предыдущее
От: "Jasbinder Bali"
Дата:
Сообщение: Re: [GENERAL] Shared Objects (Dynamic loading)
Следующее
От: "Jasbinder Bali"
Дата:
Сообщение: Re: [GENERAL] Shared Objects (Dynamic loading)