Re: adding a function to pg_proc.h - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: adding a function to pg_proc.h
Date
Msg-id c2d9e70e05052610342dc0de92@mail.gmail.com
Whole thread Raw
In response to Re: adding a function to pg_proc.h  (Jaime Casanova <systemguards@gmail.com>)
List pgsql-hackers
On 5/25/05, Jaime Casanova <systemguards@gmail.com> 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 ;)


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Rod Taylor
Next
From: Junaili Lie
Date:
Subject: Re: postmaster.pid disappeared