Re: Proposal - Continue stmt for PL/pgSQL

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal - Continue stmt for PL/pgSQL
Date: 2005-06-16 17:08:19
Message-ID: 20050616170819.GB11563@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 16, 2005 at 09:40:16 -0700,
Josh Berkus <josh(at)agliodbs(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-16 17:12:36 Re: Autovacuum in the backend
Previous Message Matthew T. O'Connor 2005-06-16 16:54:39 Re: Autovacuum in the backend