From: Armel HERVE <ah.pgsql@laposte.net>
To: pgsql-admin@postgresql.org
Subject: Re: User defined type in C
Date: Mon, 10 May 2004 14:22:14 +0200
Message-ID: <20040510122217.D1DF958005D0@mwinf0401.wanadoo.fr> (raw)
In-Reply-To: <14736.1084189835@sss.pgh.pa.us>
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 : Tom Lane [mailto:tgl@sss.pgh.pa.us]
Envoyé : lundi 10 mai 2004 13:51
À : Armel HERVE
Cc : pgsql-admin@postgresql.org
Objet : Re: [ADMIN] User defined type in C
"Armel HERVE" <ah.pgsql@laposte.net> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ah.pgsql@laposte.net
Subject: Re: User defined type in C
In-Reply-To: <20040510122217.D1DF958005D0@mwinf0401.wanadoo.fr>
References: <14736.1084189835@sss.pgh.pa.us> <20040510122217.D1DF958005D0@mwinf0401.wanadoo.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox