Re: returning a cursor from a function?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: returning a cursor from a function?
Дата
Msg-id 20060201065542.GA7477@winnie.fuhr.org
обсуждение исходный текст
Ответ на returning a cursor from a function?  (Matthew Hixson <hixson@poindextrose.org>)
Ответы Re: returning a cursor from a function?  (Matthew Hixson <hixson@poindextrose.org>)
Список pgsql-general
On Tue, Jan 31, 2006 at 10:37:47PM -0800, Matthew Hixson wrote:
> I have a create function statement that works with Oracle 8i and I'm
> trying to create this function in Postgres 8.1.2.

See the PL/pgSQL documentation, in particular the section on cursors,
which has several examples.  You might also be interested in the
"Porting from Oracle PL/SQL" section.

http://www.postgresql.org/docs/8.1/interactive/plpgsql.html
http://www.postgresql.org/docs/8.1/interactive/plpgsql-cursors.html
http://www.postgresql.org/docs/8.1/interactive/plpgsql-porting.html

--
Michael Fuhr

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

Предыдущее
От: Matthew Hixson
Дата:
Сообщение: returning a cursor from a function?
Следующее
От: Matthew Hixson
Дата:
Сообщение: Re: returning a cursor from a function?