Re: invalid type internal size -1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: invalid type internal size -1
Date: 2004-05-14 15:20:17
Message-ID: 22945.1084548017@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
> create type email ( INPUT = email_in,
> OUTPUT = email_out,
> RECEIVE = email_recv,
> SEND = email_send,
> INTERNALLENGTH = VARIABLE,
> PASSEDBYVALUE = f,
> ALIGNMENT = int4 );

> ERROR: invalid type internal size -1

There's a case in the regression tests for making a type with
internallength = variable, so I hardly think the facility is broken
entirely. Could we see a self-contained test case?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-05-14 15:31:11 Re: invalid type internal size -1
Previous Message Tom Lane 2004-05-14 14:35:22 Re: Bogus permissions display in 7.4