Re: [BUGS] BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[]

2005-03-24 Thread Tom Lane
Joe Conway <[EMAIL PROTECTED]> writes: > I have thought before that we were overloading fn_extra a bit too much. > Is there any merit in having more than one "extra" member in FmgrInfo > going forward? Not sure what --- how would you decide which to use, and what stops there being a conflict on

Re: [BUGS] BUG #1532: typecast problem between arrays of an int8

2005-03-24 Thread Joe Conway
Tom Lane wrote: "Ezequiel Tolnay" <[EMAIL PROTECTED]> writes: I've created the cardnumber_t datatype, which is an int8, to provide implicit typecasting with varchar padding the result with zeroes. Conversions work as expected between int4, int8, cardnumber_t and varchar. They also work fine between

Re: [BUGS] BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[]

2005-03-24 Thread Tom Lane
"Ezequiel Tolnay" <[EMAIL PROTECTED]> writes: > I've created the cardnumber_t datatype, which is an int8, to provide > implicit typecasting with varchar padding the result with zeroes. > Conversions work as expected between int4, int8, cardnumber_t and varchar. > They also work fine between int4[],