From: | wieck(at)debis(dot)com (Jan Wieck) |
---|---|
To: | "Dwelle, Timothy" <TDwelle(at)xperts(dot)com> |
Cc: | "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: PL/pgSQL & Cursors |
Date: | 2000-04-09 07:57:57 |
Message-ID: | m12eCbV-0003kyC@orion.SAPserv.Hamburg.dsh.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I have been playing around with the PL/pgSQL stuff, and I have
> been having trouble getting cursors to work inside my PL/pgSQL
> functions. Reading through the documentation, I see that:
>
> (1) cursors must occur inside a transaction, and
> (2) PL/pgSQL functions cannot start or end a transaction
Maybe it's only the parser of PL/pgSQL. But AFAIK there are
also problems with using named portals over SPI (what a
cursor is).
There are other things I want to do on PL/pgSQL after 7.0 is
out. So I'll give it a try then.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck(at)debis(dot)com (Jan Wieck) #
From | Date | Subject | |
---|---|---|---|
Next Message | "Jay" | 2000-04-09 09:23:43 | pgsql-sql |
Previous Message | Tom Lane | 2000-04-08 23:35:25 | Re: Strange message... |