Re: why semicolon after begin is not allowed in postgresql?
В списке pgsql-hackers по дате отправления:
| От | Kevin Grittner |
|---|---|
| Тема | Re: why semicolon after begin is not allowed in postgresql? |
| Дата | |
| Msg-id | 1385414742.86872.YahooMailNeo@web162905.mail.bf1.yahoo.com обсуждение исходный текст |
| Ответ на | Re: why semicolon after begin is not allowed in postgresql? (AK <alkuzo@gmail.com>) |
| Список | pgsql-hackers |
AK <alkuzo@gmail.com> wrote: > I do see your logic now, but this thing is a common mistake - it > means that this seems counter-intuitive to some people. What > would happen if we applied Occam's razor and just removed this > rule? > > All existing code would continue to work as is, and we would have > one less rule to memorize. That would make PostgreSql a slightly > better product, > > right? Possibly; but what happens if we want to use plpgsql syntax for stored procedures which allow the BEGIN command some day? We would have lost the ability to distinguish that command from the start of a compound statement. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера