X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B1479D1F063 for ; Mon, 10 May 2004 09:22:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 49856-07 for ; Mon, 10 May 2004 09:22:19 -0300 (ADT) Received: from mwinf0401.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by svr1.postgresql.org (Postfix) with ESMTP id 42E38D1E12F for ; Mon, 10 May 2004 09:22:15 -0300 (ADT) Received: from STAHER (AMarseille-206-2-1-2.w80-11.abo.wanadoo.fr [80.11.112.2]) by mwinf0401.wanadoo.fr (SMTP Server) with ESMTP id D1DF958005D0 for ; Mon, 10 May 2004 14:22:17 +0200 (CEST) From: "Armel HERVE" To: Subject: Re: User defined type in C Date: Mon, 10 May 2004 14:22:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <14736.1084189835@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcQ2hQQRSHHuOpfPQH+7AL6YbfMZRQABExzg Message-Id: <20040510122217.D1DF958005D0@mwinf0401.wanadoo.fr> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200405/76 X-Sequence-Number: 13392 You're right... I'm confuse... I'm sorry, it's the bug which I'm looking for a while... Thanks Armel -----Message d'origine----- De=A0: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Envoy=E9=A0: lundi 10 mai 2004 13:51 =C0=A0: Armel HERVE Cc=A0: pgsql-admin@postgresql.org Objet=A0: Re: [ADMIN] User defined type in C=20 "Armel HERVE" writes: > I'm trying to create a new type in C for postgreSQL (7.3.4). > This type is a structure of 4 fields including a variable length field. Variable-size values must start with an integer indicating their total size (this count must include itself, btw). Perhaps your globalSize field is intended to serve that purpose, but if so, you forgot to set it. regards, tom lane