$libdir under linux

Поиск
Список
Период
Сортировка
От Marios Vodas
Тема $libdir under linux
Дата
Msg-id AANLkTi=pBARN0y36cyuSaOuP2evGZcPfupvsqzXyVnt3@mail.gmail.com
обсуждение исходный текст
Ответы Re: $libdir under linux  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I want to create this function:<br /><div style="margin-left:40px;font-family:courier new,monospace">CREATE OR REPLACE
FUNCTIONmyfunction(cstring)<br />RETURNS cstring AS<br />    '$libdir/mylib','myfunction'<br /> LANGUAGE 'C' IMMUTABLE
STRICT;<br/></div><br />In windows this is working fine and $libdir is substituted by the actual path. In linux it is
notsubstituted!<br />This is the error I get:<br /><div style="margin-left: 40px; font-family: courier new,monospace;">
ERROR: could not access file "$libdir/mylib": No such file or directory<br />SQL state: 58P01<br /></div><br />How do I
fixit?  

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Debugging initdb breakage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch: psql variables tabcomplete