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:[EMAIL PROTECTED] Envoyé : lundi 10 mai 2004 13:51 À : Armel HERVE Cc : [EMAIL PROTECTED] Objet : Re: [ADMIN] User defined type in C "Armel HERVE" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html