Re: [HACKERS] $libdir under linux

2010-10-10 Thread Tom Lane
Marios Vodas writes: > I want to create this function: > CREATE OR REPLACE FUNCTION myfunction(cstring) > RETURNS cstring AS > '$libdir/mylib','myfunction' > LANGUAGE 'C' IMMUTABLE STRICT; > In windows this is working fine and $libdir is substituted by the actual > path. In linux it is not su

[HACKERS] $libdir under linux

2010-10-10 Thread Marios Vodas
I want to create this function: CREATE OR REPLACE FUNCTION myfunction(cstring) RETURNS cstring AS '$libdir/mylib','myfunction' LANGUAGE 'C' IMMUTABLE STRICT; In windows this is working fine and $libdir is substituted by the actual path. In linux it is not substituted! This is the error I get: