Re: Extending PostgreSQL Using C

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Boulat Khakimov <boulat(at)inet-interactif(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Extending PostgreSQL Using C
Date: 2001-03-07 16:55:35
Message-ID: 9809.983984135@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-sql

Hannu Krosing <hannu(at)tm(dot)ee> writes:
> Boulat Khakimov wrote:
>> ERROR: Can't find function encrypt in file /[full path here]/encrypt.so

> Can _postgres_ user read /[full path here]/encrypt.so ?

Presumably so. If he were unable to load the .so file, he'd be getting
a different error message. This message indicates that he got past the
load step, but dl_sym is unable to resolve the symbol "encrypt".

I asked about the symbol names shown by nm(1), but got no answer ...

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Nishad Prakash 2001-03-07 18:54:43 Re: Extending PostgreSQL Using C
Previous Message Hannu Krosing 2001-03-07 16:48:49 Re: Extending PostgreSQL Using C

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Lockhart 2001-03-07 16:57:27 Re: No Documentation for to_char(INTERVAL, mask)
Previous Message Hannu Krosing 2001-03-07 16:48:49 Re: Extending PostgreSQL Using C