From: Merlin Moncure <mmoncure@gmail.com>
To: PGSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Calling a SP from Curosor loop
Date: Fri, 7 Jul 2006 09:21:14 -0400
Message-ID: <b42b73150607070621n1303e309n4425ccd2c87b407@mail.gmail.com> (raw)
In-Reply-To: <b42b73150607070620x43b3705cp6b246489be4932ae@mail.gmail.com>
References: <1151600435.709010.253120@j72g2000cwa.googlegroups.com>
<b42b73150607070620x43b3705cp6b246489be4932ae@mail.gmail.com>
On 29 Jun 2006 10:00:35 -0700, satishchandra999@gmail.com
<satishchandra999@gmail.com> wrote:
> I have SP, which has a cursor iterations. Need to call another SP for
> every loop iteration of the cursor. The pseudo code is as follows..
i would suggest converting your code to pl/pgsql and reposting. that
look awfully like t-sql stored procedure, you may as well be saying,
'gobble de gook bak wakka bakka bak!', got it? :-)
(aside: pg/pgsql functions support nested calls, recursion, etc and
should provide no problems when properly written).
merlin
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-performance@postgresql.org
Cc: mmoncure@gmail.com
Subject: Re: Calling a SP from Curosor loop
In-Reply-To: <b42b73150607070621n1303e309n4425ccd2c87b407@mail.gmail.com>
References: <1151600435.709010.253120@j72g2000cwa.googlegroups.com> <b42b73150607070620x43b3705cp6b246489be4932ae@mail.gmail.com> <b42b73150607070621n1303e309n4425ccd2c87b407@mail.gmail.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