[DOCS] DECLARE syntax is different from the 2016 SQL standard
В списке pgsql-docs по дате отправления:
| От | elliotchance@gmail.com |
|---|---|
| Тема | [DOCS] DECLARE syntax is different from the 2016 SQL standard |
| Дата | |
| Msg-id | 20170312060937.1416.26045@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: [DOCS] DECLARE syntax is different from the 2016 SQL standard
|
| Список | pgsql-docs |
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.1/static/sql-declare.html Description: Hi, The 2016 standard uses a different syntax to declare a cursor: <declare cursor> ::= DECLARE <cursor name> <cursor properties> FOR <cursor specification> Notice that it does not require or permit the "CURSOR" keyword before the "FOR" keyword. I don't know why this was changed and unfortunately fixing this would break existing implementations, but there should be a note about this under the SQL Standard section. This was discovered with: https://github.com/elliotchance/sqltest BNF for 2016 can be found in the same project: https://github.com/elliotchance/sqltest/blob/master/standards/2016/bnf.txt#L2371-L2372
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера