Re: adding a function to pg_proc.h

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: adding a function to pg_proc.h
Дата
Msg-id c2d9e70e05052610342dc0de92@mail.gmail.com
обсуждение исходный текст
Ответ на Re: adding a function to pg_proc.h  (Jaime Casanova <systemguards@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Rod Taylor
Следующее
От: Junaili Lie
Дата:
Сообщение: Re: postmaster.pid disappeared