Re: [HACKERS] function question yet again

From: Sevo Stille <sevo(at)ip23(dot)net>
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] function question yet again
Date: 2000-02-15 14:14:57
Message-ID: 38A95F61.701B458C@ip23.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2000-02-15 14:24:30 Re: [HACKERS] function question yet again
Previous Message Michael Meskes 2000-02-15 14:13:26 Re: [HACKERS] function defined in libpq?