pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedFETCH ... INTO in PL/pgSQL
2+ messages / 2 participants
[nested] [flat]
* FETCH ... INTO in PL/pgSQL
@ 2001-03-14 21:00 Josh Berkus <josh@agliodbs.com>
0 siblings, 0 replies; 2+ messages in thread
From: Josh Berkus @ 2001-03-14 21:00 UTC (permalink / raw)
To: pgsql-sql
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?
-Josh
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: FETCH ... INTO in PL/pgSQL
@ 2001-03-15 21:44 Jan Wieck <JanWieck@Yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jan Wieck @ 2001-03-15 21:44 UTC (permalink / raw)
To: 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@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-03-15 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-14 21:00 FETCH ... INTO in PL/pgSQL Josh Berkus <josh@agliodbs.com>
2001-03-15 21:44 Re: FETCH ... INTO in PL/pgSQL Jan Wieck <JanWieck@Yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox