From: | Christof Petig <christof(at)petig-baender(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Sebastien Lemieux <slemieux(at)elitra(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Extending PostgreSQL in C or C++ |
Date: | 2003-06-18 10:57:45 |
Message-ID: | 3EF045A9.40502@petig-baender.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Sebastien Lemieux <slemieux(at)elitra(dot)com> writes:
>
>>Then I get:
>>ERROR: Can't find function add_one in file /[PathToTheObject]/pgsql_bio.so
>
>
> Hmm. I can't see anything wrong with what you did, either.
>
> It's possible that the dynamic linker has printed additional messages to
> the backend's stderr. Make sure that you have stderr set up to go
> someplace useful (not /dev/null) and look there to see if you can learn
> more.
most likely he has to declare the function as extern "C". A nm
pgsql_bio.so can tell more.
Christof
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2003-06-18 10:59:36 | Re: pg_get_triggerdef in pg_dump |
Previous Message | Christopher Kings-Lynne | 2003-06-18 10:15:08 | Re: pg_get_triggerdef in pg_dump |