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

From Bruno Wolff III
Subject Re: Proposal - Continue stmt for PL/pgSQL
Date
Msg-id 20050616170819.GB11563@wolff.to
Whole thread Raw
In response to Re: Proposal - Continue stmt for PL/pgSQL  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Thu, Jun 16, 2005 at 09:40:16 -0700, Josh Berkus <josh@agliodbs.com> 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?

I suspect that CONTINUE is supposed to start the next iteration of the
loop, while EXIT is supposed to terminate the loop.


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum in the backend
Next
From: Tom Lane
Date:
Subject: Re: Autovacuum in the backend