Compiling C Trigger function

Поиск
Список
Период
Сортировка
От pw
Тема Compiling C Trigger function
Дата
Msg-id 48BF1779.8020104@telus.net
обсуждение исходный текст
Список pgsql-general
Hello,

I am attempting to compile a C trigger function for
use with Postgresql.

The function uses SPI and I am comiling in linux
using gcc.

The compiler is finding all the correct headers
but complains that it can't find the SPI functions.

I am compiling with -lpq .

Do I need to compile with additional library flags?
If so, what libraries do I need to link with?

Thanks

Peter

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

Предыдущее
От: "Akhtar Yasmin-B05532"
Дата:
Сообщение: Re: Postgres does not start, gives no error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres does not start, gives no error