Re: Function example returning more then 1 value

Поиск
Список
Период
Сортировка
От Darko Prenosil
Тема Re: Function example returning more then 1 value
Дата
Msg-id 200302271405.59919.darko.prenosil@finteh.hr
обсуждение исходный текст
Ответ на Function example returning more then 1 value  ("Roberto de Amorim" <roberto@smartbit.inf.br>)
Список pgsql-general
On Thursday 27 February 2003 12:25, Roberto de Amorim wrote:
> I looked at
> http://developer.postgresql.org/docs/postgres/plpgsql-examples.html
> but there is not an example of function returning more then 1 value...
>
> could anyone sand me an example of function returning more then 1 value
> using PLPGSQL ? please
>
    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.

    See:
http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html
http://developer.postgresql.org/docs/postgres/xfunc.html


Regards !

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

Предыдущее
От: "Roberto de Amorim"
Дата:
Сообщение: Function example returning more then 1 value
Следующее
От: Jean-Christian Imbeault
Дата:
Сообщение: PGSQL function question