Re: pl/pgsql: END verbosity
От
Josh Berkus
Тема
Re: pl/pgsql: END verbosity
Дата
Msg-id
200506211949.51916.josh@agliodbs.com
Ответ на
pl/pgsql: END verbosity (Neil Conway)
Список
Дерево обсуждения
Re: pl/pgsql: END verbosity "Merlin Moncure" <merlin.moncure@rcsonline.com>
Neil, > 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. No problem from me. Since the parser checks for block closure for all block types, I can't see how this would be a problem. -- --Josh Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-hackers по дате отправления