Skip site navigation (1) Skip section navigation (2)

Re: User defined type in C

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Armel HERVE" <ah(dot)pgsql(at)laposte(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: User defined type in C
Date: 2004-05-10 11:50:35
Message-ID: 14736.1084189835@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"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

pgsql-admin by date

Next:From: Armel HERVEDate: 2004-05-10 12:22:14
Subject: Re: User defined type in C
Previous:From: Armel HERVEDate: 2004-05-10 10:20:31
Subject: User defined type in C

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group