Re: Returning multiple rows in 8.4

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Returning multiple rows in 8.4
Дата
Msg-id 4AF8A488.5020209@iol.ie
обсуждение исходный текст
Ответ на Re: Returning multiple rows in 8.4  (Raymond O'Donnell <rod@iol.ie>)
Ответы Re: Returning multiple rows in 8.4
Список pgsql-general
On 09/11/2009 22:43, Raymond O'Donnell wrote:
> On 19:59,  wrote:
>> how can I write a function to return multiple rows? ( in plpgsql )
>
> Yep, it's all in the docs:
>
> http://www.postgresql.org/docs/8.4/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING

[snip]

> Finally, you can use OUT parameters to return multiple values from the
> function - this is handy if you need to return just a few values.

Just to clarify further - this last option returns just a single row.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: What to install to be able to build docs on Arch Linux?
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: I can't seem to put the right combination of magic into the pg_hba and pg_ident files.