Received: from isidoro2.unileon.es (isidoro2.unileon.es [193.146.96.2]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8IMV8d69390 for ; Tue, 18 Sep 2001 18:31:08 -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 UAA25982 for ; Tue, 18 Sep 2001 20:10:10 +0200 (MET DST) Message-ID: <001f01c1406c$954f91b0$1301a8c0@uimagen> From: =?iso-8859-1?Q?Miguel_Gonz=E1lez?= To: "PostgreSQL SQL" Subject: Registring a C function in PostgreSQL Date: Tue, 18 Sep 2001 20:06:04 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001C_01C1407D.58AFCB10" 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/133 X-Sequence-Number: 4805 This is a multi-part message in MIME format. ------=_NextPart_000_001C_01C1407D.58AFCB10 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_001C_01C1407D.58AFCB10 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_001C_01C1407D.58AFCB10--