Re: pl/pgsql: END verbosity - Mailing list pgsql-hackers

From Neil Conway
Subject Re: pl/pgsql: END verbosity
Date
Msg-id 42BB9D50.6020701@samurai.com
Whole thread Raw
In response to Re: pl/pgsql: END verbosity  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck wrote:
> But what if they decide to allow
> 
> LOOP
>     -- ...
>     IF condition THEN
>         EXIT;
> END LOOP;
> 
> at some point? There you'd get ambiguity.

ISTM this would be ambiguous in any case:

IF condition1 THEN    foo;    IF condition2 THEN        bar;
END IF;

-Neil


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Fixing r-tree semantics
Next
From: "Mark Cave-Ayland"
Date:
Subject: Re: Fixing r-tree semantics