Re: C trigger using system(3) to execute a php script

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: C trigger using system(3) to execute a php script
Дата
Msg-id 20060218193423.GA1279@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: C trigger using system(3) to execute a php script  (David Rio Deiros <driodeiros@gmail.com>)
Ответы Re: C trigger using system(3) to execute a php script  (David Rio Deiros <driodeiros@gmail.com>)
Список pgsql-general
On Sat, Feb 18, 2006 at 10:59:16AM -0800, David Rio Deiros wrote:
> Also, I took me a while to figure out how to compile my trigger on
> FreeBSD and MacOSX/Darwin. Finally I found this in the documentation:
>
> http://www.postgresql.org/docs/8.0/interactive/xfunc-c.html
>
> which perfectly explains what flags to pass to gcc in order to
> compile your code on those and other platforms.

Take a look at "Extension Building Infrastructure" on that page and
also at the contrib modules' Makefiles.  In most cases you can let
PostgreSQL figure out how to build your code.

http://www.postgresql.org/docs/8.0/interactive/xfunc-c.html#XFUNC-C-PGXS

--
Michael Fuhr

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Non-Overlaping date interval index
Следующее
От: David Rio Deiros
Дата:
Сообщение: Re: C trigger using system(3) to execute a php script