Re: Calling a SP from Curosor loop

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "PGSQL Performance" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Calling a SP from Curosor loop
Date: 2006-07-07 13:21:14
Message-ID: b42b73150607070621n1303e309n4425ccd2c87b407@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 29 Jun 2006 10:00:35 -0700, satishchandra999(at)gmail(dot)com
<satishchandra999(at)gmail(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Ron Peacetree 2006-07-07 13:57:53 Re: suggested RAID controller for FreeBSD 6.1 +
Previous Message Hripchenko Sergey 2006-07-07 08:48:49 longest prefix match querries