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

From Tom Lane
Subject Re: Proposal - Continue stmt for PL/pgSQL
Date
Msg-id 17530.1118942174@sss.pgh.pa.us
Whole thread Raw
In response to Proposal - Continue stmt for PL/pgSQL  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Responses Re: Proposal - Continue stmt for PL/pgSQL
List pgsql-hackers
Pavel Stehule <stehule@kix.fsv.cvut.cz> writes:
>   BEGIN
>     CONTINUE WHEN i = 10;
>     RAISE NOTICE '---1---';
>   END;

I find that really ugly and confusing.  If we add a CONTINUE it's only
sensible to allow it inside a loop --- otherwise it's just a nonstandard
spelling of EXIT.
        regards, tom lane


pgsql-hackers by date:

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