Re: create type and backend terminate
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "And. Andruikhanov" <andy@euinf.dp.ua>
Cc: pgsql-bugs@postgresql.org
Date: 2001-02-27T19:40:39Z
Lists: 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