Received: from ns.idianet.net ([195.154.201.1]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA22514 for ; Mon, 3 May 1999 13:45:47 -0400 (EDT) (envelope-from haj@idianet.net) Received: from kosovo (ppp158-paris.isdnet.net [194.149.182.158]) by ns.idianet.net (8.9.1/8.9.1) with SMTP id TAA17300 for ; Mon, 3 May 1999 19:43:31 +0200 (CEST) Message-ID: <000401be958c$d356e540$0601a8c0@kosovo.idianet.net> Reply-To: "abdelkrim" From: "abdelkrim" To: Subject: pb when creating user type Date: Mon, 3 May 1999 19:46:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 hello I try to create a type complex, i generate a complex.so and when to insert one complex into a table i have some problems please help me CREATE FUNCTION complex_out(opaque) RETURNS opaque AS '/usr/local/pgsql/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 )'); ERROR: Can't find function complex_in in file /usr/local/pgsql/complex.so ERROR: Can't find function complex_in in file /usr/local/pgsql/complex.so INSERT INTO test_complex VALUES ('(33.0, 51.4)', '(100.42, 93.55)'); ERROR: Can't find function complex_in in file /usr/local/pgsql/complex.so ERROR: Can't find function complex_in in file /usr/local/pgsql/complex.so