agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: wove5@outlook.com
Subject: 34.3.2. Using Cursors
Date: Mon, 02 Dec 2024 23:55:30 +0000
Message-ID: <173318373001.2556777.2216753691283457026@wrigleys.postgresql.org> (raw)
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?
Message-ID: <173318373001.2556777.2216753691283457026@wrigleys.postgresql.org>
Permalink: ../173318373001.2556777.2216753691283457026@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/173318373001.2556777.2216753691283457026@wrigleys.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, wove5@outlook.com
Subject: Re: 34.3.2. Using Cursors
In-Reply-To: <173318373001.2556777.2216753691283457026@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox