Received: from isidoro2.unileon.es (isidoro2.unileon.es [193.146.96.2]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8IIB2d07946 for ; Tue, 18 Sep 2001 14:11:02 -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 UAA26134 for ; Tue, 18 Sep 2001 20:10:47 +0200 (MET DST) Message-ID: <003001c1406c$ab1f37c0$1301a8c0@uimagen> From: =?iso-8859-1?Q?Miguel_Gonz=E1lez?= To: "PostgreSQL PHP" Subject: Registring a C function in PostgreSQL Date: Tue, 18 Sep 2001 20:06:41 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01C1407D.6E8DC900" 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/9 X-Sequence-Number: 530 This is a multi-part message in MIME format. ------=_NextPart_000_002D_01C1407D.6E8DC900 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have followed the instructions in the Bruje Momjian=B4s 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=B4s 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 ------=_NextPart_000_002D_01C1407D.6E8DC900 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I = have followed=20 the instructions in the Bruje Momjian=B4s book to register a
function, a= nd i=20 got this message:

 ERROR:/load of file /home/postgres/ctof.so= =20 failed: /home/postgres/ctof.so
ELF file=B4s phentsize not the expected= =20 size.

What is going on? I have tried to get more documentation about= how=20 to use C
functions in PostgreSQL, but I cant.

 Many thanks i= n=20 advance

 Miguel


= ------=_NextPart_000_002D_01C1407D.6E8DC900--