From: Dwelle, Timothy <TDwelle@xperts.com>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: PL/pgSQL & Cursors
Date: Fri, 7 Apr 2000 10:46:57 -0400
Message-ID: <0C95935DA0D5D3118E9800A0C9824CD02B8A19@mail.xperts.com> (raw)
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
Does this mean there is no way to use cursors inside a
PL/pgSQL function?
Any help would be appreciated.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: TDwelle@xperts.com
Subject: Re: PL/pgSQL & Cursors
In-Reply-To: <0C95935DA0D5D3118E9800A0C9824CD02B8A19@mail.xperts.com>
References: <0C95935DA0D5D3118E9800A0C9824CD02B8A19@mail.xperts.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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