On 5/25/05, Jaime Casanova <[EMAIL PROTECTED]> wrote:
> > Also, defining the return type as ANYELEMENT will definitely NOT work,
> > since none of the input arguments are polymorphic.
> >
> mmm... This is a problem, there is a way to make a function that can
> be used for returning different datatypes depending on the columns
> 
Ok, i have read in the manual about returning polymorphic types. why
we can't cast the function to the appropiate type to avoid the extra
parameter?

-- 
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to