error insert

From: "abdelkrim" <haj(at)idianet(dot)net>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: error insert
Date: 1999-05-07 14:30:44
Message-ID: 000e01be9896$317637a0$0601a8c0@kosovo.idianet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

CREATE FUNCTION complex_in(opaque)
RETURNS complex
AS '/usr/local/pgsql/postgresql-6.4.2/src/tutorial/complex.so'
LANGUAGE 'c';
NOTICE: ProcedureCreate: type 'complex' is not yet defined
NOTICE: ProcedureCreate: type 'complex' is not yet defined
CREATE

CREATE FUNCTION complex_out(opaque)
RETURNS opaque
AS '/usr/local/pgsql/postgresql-6.4.2/src/tutorial/complex.so'
LANGUAGE 'c';
CREATE

CREATE TYPE complex (
internallength = 16,
input = complex_in,
output = complex_out
);
CREATE

CREATE TABLE test_complex (
a complex,
b complex
);
CREATE

INSERT INTO test_complex VALUES ('(1.0, 2.5)', '(4.2, 3.55 )');
assertion "u.hdr.e_phentsize == sizeof(Elf_Phdr)" failed: file
"/usr/src/libexec/rtld-elf/map_object.c", line 118
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or while
processing the request.
We have lost the connection to the backend, so further processing is
impossible. Terminating.

in the root console:

assertion "u.hdr.e_phentsize == sizeof(Elf_Phdr)" failed: file
"/usr/src/libexec/rtld-elf/map_object.c", line 118

thank you for your help

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Adam H. Pendleton 1999-05-07 14:42:36 JDBC Part II
Previous Message Michael J Davis 1999-05-07 13:51:29 RE: [INTERFACES] I am new to this