Re: invalid type internal size -1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: invalid type internal size -1
Date
Msg-id 22945.1084548017@sss.pgh.pa.us
Whole thread Raw
In response to invalid type internal size -1  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-hackers
Gaetano Mendola <mendola@bigfoot.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bogus permissions display in 7.4
Next
From: Tom Lane
Date:
Subject: Re: invalid type internal size -1