Re: [HACKERS] function question yet again

From: Mike Mascari <mascarm(at)mascari(dot)com>
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 08:42:33
Message-ID: 38A91179.AB924F0A@mascari.com
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. :-)
>
> I have put my function into a shared library to load it, but the library
> itself needs other libraries. Is this at all possible?
>
> Michael
> --
> Michael Meskes | Go SF 49ers!
> Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
> Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
> Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!

That's odd. Would it be possible for you to provide your compiliation/link
statement as well as your CREATE FUNCTION statement? I've a host of functions
which use external libaries that work as expected (on Linux), including doing
some pretty weird stuff.

Mike Mascari

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 2000-02-15 08:45:44 Re: [HACKERS] function defined in libpq?
Previous Message Mike Mascari 2000-02-15 08:36:41 Re: [HACKERS] function defined in libpq?