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