| From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: FETCH ... INTO in PL/pgSQL |
| Date: | 2001-03-15 21:44:38 |
| Message-ID: | 200103152144.QAA04163@jupiter.jw.home |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 that for 7.2.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Roberto Mello | 2001-03-15 22:45:35 | Contribute to the PL/pgSQL CookBook !! |
| Previous Message | Jan Wieck | 2001-03-15 21:26:23 | Re: pl/Perl |