Re: [DOCS] DECLARE syntax is different from the 2016 SQL standard
В списке pgsql-docs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [DOCS] DECLARE syntax is different from the 2016 SQL standard |
| Дата | |
| Msg-id | 28661.1489458517@sss.pgh.pa.us обсуждение |
| Ответ на | [DOCS] DECLARE syntax is different from the 2016 SQL standard (elliotchance@gmail.com) |
| Ответы |
Re: [DOCS] DECLARE syntax is different from the 2016 SQL standard
|
| Список | pgsql-docs |
elliotchance@gmail.com writes:
> 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.
For some reason, the spec puts the CURSOR keyword into <cursor
properties>, but it's definitely there:
<cursor properties> ::=
[ <cursor sensitivity> ] [ <cursor scrollability> ] CURSOR
[ <cursor holdability> ]
[ <cursor returnability> ]
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера