Tom Lane wrote:
> enum_first, enum_last: these return ANYENUM but violate the rule that
> a polymorphic-result function must have a polymorphic input argument
> from which the parser may deduce the actual output type.
>
Is this a tragedy when the supplied parameter gives the result type
directly?
If it really is, maybe we should return text instead of the enum
directly (or array of text in the case of enum_range).
cheers
andrew