Re: Calling 'c' function from PostGreSQL

Поиск
Список
Период
Сортировка
Искать
От
Nabil Sayegh
Тема
Re: Calling 'c' function from PostGreSQL
Дата
Msg-id
20010409112117.8626114EE62@gerstung3.net-lab.net
Ответ на
Список
Дерево обсуждения
Calling 'c' function from PostGreSQL "Atul" <atulk@newgen.co.in>
Re: Calling 'c' function from PostGreSQL Nabil Sayegh <evolution@sayegh.de>
Re: Calling 'c' function from PostGreSQL Tom Lane <tgl@sss.pgh.pa.us>
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


В списке pgsql-novice по дате отправления
От: Atul
Дата:
От: Patrice Espié
Дата:
FAQ