Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)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