Variable return type...

Поиск
Список
Период
Сортировка
От Cristian Prieto
Тема Variable return type...
Дата
Msg-id 00fd01c5da8b$6316b8f0$6500a8c0@gt.ClickDiario.local
обсуждение исходный текст
Ответы Re: Variable return type...  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general

Hi, I was working in a set of SPs inside PL/pgSQL and I was wonder if I could return a set of variable types from a function, for example, in some time the same function could return a set of tuples with an integer and a string, in other times It may return a set of tuples with an integer, a string and another string… a so on…

 

I know I can use anyelement but then I would need to specify an anyelement input type (but in my case the input element would the the same all the time);

 

Any idea in how I could do this?

 

Thanks a lot!

В списке pgsql-general по дате отправления:

Предыдущее
От: Douglas McNaught
Дата:
Сообщение: Re: Error Message
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Error Message