On 09 Apr 2001 16:17:08 +0530, Atul wrote:
> Is it possible to call a language 'C' function from a PL/pgSQL function. I have the following code:
>
> // file myfunc.c
> #include "postgres.h"
>
> text* myfunc();
>
> text* myfunc()
> {
> text* ch;
> *ch = '1,2';
> return ch;
> }
>
> // C file ends here
Did you compile it with -fPIC ?
--
Nabil Sayegh