Re: SETOF (was: Function example returning more then 1

Поиск
Список
Период
Сортировка

>       You can't return more than one return value from function, but that
> value can be of composite type.For example :"setof text" or "setof record" > are such types.

        Can you use functions returning "setof"s as if they were "normal" selects?.

        I saw that setof takes a type or table as an argument. What if what i want to return is not in a table schema, can i do something like "setof (blah inet, blah2 varchar(256))"?

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

Предыдущее
От: Jean-Christian Imbeault
Дата:
Сообщение: PGSQL function question
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: XML in PostgreSQL