Re: User defined type in C

From: "Armel HERVE" <ah(dot)pgsql(at)laposte(dot)net>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: User defined type in C
Date: 2004-05-10 12:22:14
Message-ID: 20040510122217.D1DF958005D0@mwinf0401.wanadoo.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)sss(dot)pgh(dot)pa(dot)us]
Envoyé : lundi 10 mai 2004 13:51
À : Armel HERVE
Cc : pgsql-admin(at)postgresql(dot)org
Objet : Re: [ADMIN] User defined type in C

"Armel HERVE" <ah(dot)pgsql(at)laposte(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Matt Clark 2004-05-10 13:27:21 Reposted - large object storage
Previous Message Tom Lane 2004-05-10 11:50:35 Re: User defined type in C