34.3.2. Using Cursors - Mailing list pgsql-docs

From PG Doc comments form
Subject 34.3.2. Using Cursors
Date
Msg-id 173318373001.2556777.2216753691283457026@wrigleys.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Hyperlinks for source file references
Next
From: Peter Smith
Date:
Subject: Re: pg_createsubscriber: publication-name and subscription-name options do not exist