Re: create type and backend terminate - Mailing list pgsql-bugs

From Tom Lane
Subject Re: create type and backend terminate
Date
Msg-id 7820.983302839@sss.pgh.pa.us
Whole thread Raw
In response to create type and backend terminate  ("And. Andruikhanov" <andy@euinf.dp.ua>)
List pgsql-bugs
"And. Andruikhanov" <andy@euinf.dp.ua> writes:

> create type unsl4(input=unsl4_in, output=unsl4_out, internallength=4,
> externallength=variable);

This will not work at all, since you did not specify PASSEDBYVALUE
but your functions assume the type is pass-by-value.  An explicit
ALIGNMENT=int4 might be a good idea too, although I think that's the
default.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Date represetation bug. Some dates are incorrectly selected
Next
From: "Rainer Mager"
Date:
Subject: RE: Problem with 7.0.3 dump -> 7.1b4 restore