Re: BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[] - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1532: typecast problem between arrays of an int8 derived datatype and varchar[]
Date
Msg-id 8929.1111704023@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1532: typecast problem between arrays of an int8  (Joe Conway <mail@joeconway.com>)
List pgsql-bugs
Joe Conway <mail@joeconway.com> 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 one of them anyway?

The basic rule is that "fn_extra belongs to the called function", and
array_map was definitely breaking that rule.  So I don't think this bug
is a symptom of a system-wide issue.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables
Next
From: Simon Riggs
Date:
Subject: Re: BUG #1552: massive performance hit between 7.4 and 8.0.1