Received: from isidoro2.unileon.es (isidoro2.unileon.es [193.146.96.2]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8II7ad06988 for ; Tue, 18 Sep 2001 14:07:36 -0400 (EDT) (envelope-from iafmgc@unileon.es) Received: from intergraph (n104111.unileon.es [193.146.104.111]) by isidoro2.unileon.es (8.9.3/8.9.1) with SMTP id UAA24911 for ; Tue, 18 Sep 2001 20:06:47 +0200 (MET DST) Message-ID: <000e01c1406c$3619f140$1301a8c0@uimagen> From: =?iso-8859-1?Q?Miguel_Gonz=E1lez?= To: References: <3BA65BD3.9040805@radix.com.br> Subject: Registring a C function in PostgreSQL Date: Tue, 18 Sep 2001 20:02:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200109/93 X-Sequence-Number: 2194 I have followed the instructions in the Bruje Momjianīs book to register a function, and i got this message: ERROR:/load of file /home/postgres/ctof.so failed: /home/postgres/ctof.so ELF fileīs phentsize not the expected size. What is going on? I have tried to get more documentation about how to use C functions in PostgreSQL, but I cant. Many thanks in advance Miguel