pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Haller Christoph <ch@rodos.fzk.de>
To: iafmgc@unileon.es
Cc: pgsql-sql@postgresql.org
Subject: Re: Registring a C function in PostgreSQL
Date: Wed, 19 Sep 2001 10:24:54 METDST
Message-ID: <200109190824.KAA23466@rodos> (raw)
In-Reply-To: <001f01c1406c$954f91b0$1301a8c0@uimagen>

Did you use the compiler option for generating 
position independent code (PIC) for use in building
shared libraries.
Did you use the linker option for creating 
a shared library - I think you did, the file 
suffix .so looks that way. 
I did it several times successfully using commands 
like 
CREATE FUNCTION byteatostr(bytea) RETURNS text
 AS './byteatostr.sl' LANGUAGE 'c';
and it worked. 
Maybe you should add some more information about 
what you did in detail. 
Regards, Christoph 



view thread (4+ messages)  latest in thread

Message-ID: <200109190824.KAA23466@rodos>
Permalink:  ../200109190824.KAA23466@rodos/
Also on:    postgresql.org/message-id/200109190824.KAA23466@rodos

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ch@rodos.fzk.de, iafmgc@unileon.es
  Subject: Re: Registring a C function in PostgreSQL
  In-Reply-To: <200109190824.KAA23466@rodos>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox