Re: Proposal - Continue stmt for PL/pgSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal - Continue stmt for PL/pgSQL
Date: 2005-06-16 17:16:14
Message-ID: 17530.1118942174@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

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