Re: Return more then one value using PL

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Return more then one value using PL
Дата
Msg-id 20060210043339.GA64331@winnie.fuhr.org
обсуждение исходный текст
Ответ на Return more then one value using PL  ("Benjamin Arai" <barai@cs.ucr.edu>)
Список pgsql-general
On Thu, Feb 09, 2006 at 11:23:55AM -0800, Benjamin Arai wrote:
> What languages allow you to return more than one value using PL?  For
> example, I read that PL/Python only supports returning a single value.

What do you mean by "more than one value"?  Multiple columns
(composite type), multiple rows (set), or both?  In any case, the
documentation for each language describes its capabilities.

http://www.postgresql.org/docs/8.1/interactive/server-programming.html

Of the standard languages in PostgreSQL 8.1 you can return sets,
composite types, and sets of composite types with C, SQL, PL/pgSQL,
and PL/Perl but not with PL/Tcl or PL/Python.  Third-party languages
with support for sets and composite types include PL/Ruby, PL/php,
PL/R, PL/Java, and possibly others.

--
Michael Fuhr

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

Предыдущее
От: Luki Rustianto
Дата:
Сообщение: Re: Is there a way to limit CPU usage per user
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Is there a way to limit CPU usage per user