Kate F <[EMAIL PROTECTED]> writes:
> (And whatever the decision regarding ANYELEMENT of, I believe this
> should behave the same as IS OF)

In the light of morning I think it may be a non-problem.  The way that a
plpgsql function with an ANYELEMENT parameter really works is that on
first invocation with a parameter of a specific type, we generate a new
parse-tree on the fly with the parameter being taken as of that type.
So the IS OF or equivalent operation would never see ANYELEMENT, and
there's nothing to "look through".  (You might check this by seeing if
IS OF behaves sanely, before you go and spend time on a type_of function
...)

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to