Re: Proposal - Continue stmt for PL/pgSQL

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal - Continue stmt for PL/pgSQL
Date: 2005-06-16 19:06:57
Message-ID: Pine.LNX.4.44.0506162102380.13602-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2005-06-16 19:14:34 Re: Proposal - Continue stmt for PL/pgSQL
Previous Message Pavel Stehule 2005-06-16 19:00:04 Re: PROPOSAL - User's exception in PL/pgSQL