From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | pl/pgsql: END verbosity |
Date: | 2005-06-22 02:17:42 |
Message-ID: | 42B8CA46.4040009@samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
In PL/PgSQL, "END LOOP" is used to terminate loop blocks, and "END IF"
is used to terminate IF blocks. This is needlessly verbose: we could
simply accept "END" in both cases without syntactic ambiguity. I'd like
to make this change, so that END can be used to terminate any kind of
block. There's no need to remove support for the present syntax, of
course, so there's no backward compatibility concern. Oracle's PL/SQL
does require "END IF" and "END LOOP", but folks interested in maximum
compatibility can always use those forms if they like.
Any objections?
-Neil
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-06-22 02:45:55 | Re: The contrib hit list |
Previous Message | Neil Conway | 2005-06-22 01:45:56 | Re: Removing Kerberos 4 |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2005-06-22 02:49:51 | Re: pl/pgsql: END verbosity |
Previous Message | Neil Conway | 2005-06-22 02:12:44 | Re: pg_restore: fix bogosity |