Re: Proposal - Continue stmt for PL/pgSQL - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Proposal - Continue stmt for PL/pgSQL
Date
Msg-id Pine.LNX.4.44.0506162102380.13602-100000@kix.fsv.cvut.cz
Whole thread Raw
In response to Re: Proposal - Continue stmt for PL/pgSQL  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Thu, 16 Jun 2005, Josh Berkus wrote:

> Pavel,
> 
> >    Statement CONTINUE isn't in PL/SQL too, I know it, but Oracle PL/SQL
> > has statement GOTO. I don't need GOTO statement, but 'continue' can be
> > very usefull for me. I have to do some ugly trick now. With little change,
> > we can enhance stmt EXIT for behavior continue.
> 
> Can you explain a little better what CONTINUE does that's different from EXIT?
> 

continue is equialent next iteration of cycle. exit break cycle. with 
block stmt? ~ break and continue are equal.

Pavel 



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PROPOSAL - User's exception in PL/pgSQL
Next
From: Pavel Stehule
Date:
Subject: Re: Proposal - Continue stmt for PL/pgSQL