I have a strange problem. Some documents suggests that I can use Goto statement. My program is like this one.
Drop function Gototest();
Create Function Gototest() Returns int4 as'
DBFirst := 1;
Start: DBFirst:= DBFirst+1;
If (DBFirst != 10) Then
Raise Notice ''val %'',DBFirst;
' language 'plpgsql';
But when I am running it , it gives error
ERROR: parser: parse error at or near "start"
What may be cause of it. Actually I am converting oracle stored procedure to postgres function.So what is alternate.Is there any support of Continue statement.
pgsql-general by date
|Next:||From: Ben-Nes Yonatan||Date: 2001-09-28 11:23:26|
|Subject: boolean query|
|Previous:||From: Dinesh Parikh||Date: 2001-09-28 10:47:47|
|Subject: Dynamic Query problem|