Michael Meskes wrote:
>
> Is it possible to define a function in language 'C' that needs more
> libraries to work? I've got a small example of a function that works like a
> charm when run against from a binary. However if I put this function inside
> the server and execute it I get
>
> ERROR: parser: parse error at or near ""
>
> Not exactly an error message that explains itself. :-)
Actually, it is very suggestive of quoting or escaping errors.
Presumably your statement terminates somewhere where you would not
expect it.
> I have put my function into a shared library to load it, but the library
> itself needs other libraries. Is this at all possible?
If the system knows how to find it, absolutely. That is, whatever you
depend on will have to be in a system or pgsql library directory.
Sevo