Re: create type and backend terminate

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "And(dot) Andruikhanov" <andy(at)euinf(dot)dp(dot)ua>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: create type and backend terminate
Date: 2001-02-27 19:40:39
Message-ID: 7820.983302839@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"And. Andruikhanov" <andy(at)euinf(dot)dp(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Rainer Mager 2001-02-28 01:14:48 RE: Problem with 7.0.3 dump -> 7.1b4 restore
Previous Message Tom Lane 2001-02-27 19:16:48 Re: Date represetation bug. Some dates are incorrectly selected