Re: How to return more than one variable from PgPlSQL procedure?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: How to return more than one variable from PgPlSQL procedure?
Дата
Msg-id 20020322161520.2A95113E6F@mainbox.archonet.com
обсуждение исходный текст
Ответ на How to return more than one variable from PgPlSQL procedure?  ("Ivan Babikov" <iab@qms.e-burg.ru>)
Список pgsql-sql
On Friday 22 Mar 2002 12:34, Ivan Babikov wrote:
> Hello all,
>
> I've noticed that postgres functions can return SETOF but it seems that
> SETOF works only for sql-language functions. At least the code below is
> compilable but causes freezing of pgAdmin during the execution. This
> function was converted to PgPlSql from Interbase:

Your assessment is correct, plpgsql cannot cope with SETOF at the moment. 
Version 7.2 allows you to return a cursor though (see the docs).

- Richard Huxton


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

Предыдущее
От: "Ivan Babikov"
Дата:
Сообщение: How to return more than one variable from PgPlSQL procedure?
Следующее
От: Jim Martinez
Дата:
Сообщение: false No rows returned error