Re: Problems compiling a trigger

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Problems compiling a trigger
Дата
Msg-id 1139362772.21273.49.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Problems compiling a trigger  (Rodolfo Campos <camposer@gmail.com>)
Список pgsql-hackers
On Tue, 2006-02-07 at 19:45 -0400, Rodolfo Campos wrote:
> I'm getting problems compiling a trigger written in C (exactly the one
> from the documentation), when compiling it I get the errore shwoned
> here.

This question belongs elsewhere (e.g. pgsql-general) -- -hackers is for
development-related discussion.

> gcc -I /usr/include/postgresql/server prueba1.c

Read:
   http://www.postgresql.org/docs/8.1/static/xfunc-c.html#DFUNC

which tells you to do:

cc -fpic -c foo.c
cc -shared -o foo.so foo.o

-Neil




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and