Compiling C Trigger function

From: pw <p(dot)willis(at)telus(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Compiling C Trigger function
Date: 2008-09-03 23:02:17
Message-ID: 48BF1779.8020104@telus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-09-03 23:13:38 Re: Postgres does not start, gives no error
Previous Message Akhtar Yasmin-B05532 2008-09-03 22:47:04 Re: Postgres does not start, gives no error