pl/pgsql: END verbosity

Поиск
Список
Период
Сортировка
От Neil Conway
Тема pl/pgsql: END verbosity
Дата
Msg-id 42B8CA46.4040009@samurai.com
обсуждение исходный текст
Ответы Re: pl/pgsql: END verbosity  (Josh Berkus <josh@agliodbs.com>)
Re: pl/pgsql: END verbosity  ("Andrew Dunstan" <andrew@dunslane.net>)
Re: pl/pgsql: END verbosity  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: pg_terminate_backend idea
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The contrib hit list