| From: | Jie Liang <jliang(at)ipinc(dot)com> |
|---|---|
| To: | Najm Hashmi <najm(at)mondo-live(dot)com> |
| Cc: | pgsql <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: pgsql and cursor |
| Date: | 2001-02-09 18:24:33 |
| Message-ID: | Pine.BSF.4.10.10102091018080.33254-100000@tidal.ipinc.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
I just know you can use implict cursor inside the plpgsql
e.g
declare
rec record;
begin
FOR rec IN select_clause LOOP
statements
END LOOP;
end;
Jie LIANG
St. Bernard Software
Internet Products Inc.
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang(at)ipinc(dot)com
www.ipinc.com
On Sat, 10 Feb 2001, Najm Hashmi wrote:
> Hi all, I am not sure If it is allowed to use cursor inside pgsql functions.
> If it is possible, please someone could send exact synatx how it is used. If
> it is not allowed is there a way arround it? I need to do some calculations
> and then return this value as text.
> Thanks in advance for all your help.
> Najm
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jie Liang | 2001-02-09 18:26:46 | Re: What's wrong with this function |
| Previous Message | rob | 2001-02-09 17:14:51 | Re: plpgsql grief |