Re: c function - undefined symbols

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steffn <steffn(at)gmx(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: c function - undefined symbols
Date: 2008-12-10 17:34:16
Message-ID: 3767.1228930456@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steffn <steffn(at)gmx(dot)at> writes:
> Thanks for your reply. Yes, thats also my suspicion. But what library to
> include?

There is no library to include --- you need to be building *your* code
as a library that can be loaded into the Postgres backend, which will
supply the missing function. This is somewhat platform-specific and
frankly I'd suggest using pgxs rather than puzzling it out for yourself.
See
http://www.postgresql.org/docs/8.3/static/xfunc-c.html#XFUNC-C-PGXS

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Said Ramirez 2008-12-10 18:08:20 IN limit
Previous Message Tom Lane 2008-12-10 16:53:47 Re: 8.2.6 -> 8.1.11: syntax error at or near "OWNED BY"