Re: FETCH ... INTO in PL/pgSQL

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: FETCH ... INTO in PL/pgSQL
Дата
Msg-id 200103152144.QAA04163@jupiter.jw.home
обсуждение исходный текст
Ответ на FETCH ... INTO in PL/pgSQL  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-sql
Josh Berkus wrote:
> Tom, Bruce,
>
>    Is there any way to make use of the contents of a cursor in a PL/pgSQL
> function?  FETCH ... INTO isn't supported, according to the docs.  Can I
> use the dot notation, or something similar?
   PL/pgSQL  doesn't  support cursors at all. That's basically a   fault of the SPI manager because  every  internal
DB access   from  withing PL/pgSQL is done via SPI and that beast doesn't   support cursors. As said, I want to work on
thatfor 7.2.
 


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: pl/Perl
Следующее
От: Roberto Mello
Дата:
Сообщение: Contribute to the PL/pgSQL CookBook !!