returning dynamic record

Поиск
Список
Период
Сортировка
От nick
Тема returning dynamic record
Дата
Msg-id 47312131.1010501@walkerdatanet.com
обсуждение исходный текст
Ответы Re: returning dynamic record
Список pgsql-general
Just wondering, if it is possible to do the following

create function foo() RETURNS Record(int, varchar, int)

then inside of the function return a set int, varchar, int.

Then be able to call the function

select * From foo()

instead of having to write

select * from foo() as (int, varchar, int)

or declaring a type?

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