34.3.2. Using Cursors

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема 34.3.2. Using Cursors
Дата
Msg-id 173318373001.2556777.2216753691283457026@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/ecpg-commands.html
Description:

I think there is a missing colon in the example code "Select using
cursors":

EXEC SQL DECLARE foo_bar CURSOR FOR
    SELECT number, ascii FROM foo
    ORDER BY ascii;
EXEC SQL OPEN foo_bar;
EXEC SQL FETCH foo_bar INTO :FooBar, DooDad;
...                                                                   ^
EXEC SQL CLOSE foo_bar;
EXEC SQL COMMIT;

Should DooDad be prepended with a colon?

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