pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedCount parameter for cursor_to_xml
2+ messages / 2 participants
[nested] [flat]
* Count parameter for cursor_to_xml
@ 2024-09-25 08:50 PG Doc comments form <noreply@postgresql.org>
2024-09-25 11:24 ` Re: Count parameter for cursor_to_xml Daniel Gustafsson <daniel@yesql.se>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2024-09-25 08:50 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: splarv@ya.ru
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/16/functions-xml.html
Description:
cursor_to_xml ( cursor refcursor, count integer, nulls boolean,
tableforest boolean, targetns text ) → xml
There is not explanation what the count parameter do.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Count parameter for cursor_to_xml
2024-09-25 08:50 Count parameter for cursor_to_xml PG Doc comments form <noreply@postgresql.org>
@ 2024-09-25 11:24 ` Daniel Gustafsson <daniel@yesql.se>
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Gustafsson @ 2024-09-25 11:24 UTC (permalink / raw)
To: splarv@ya.ru; pgsql-docs@lists.postgresql.org
> On 25 Sep 2024, at 10:50, PG Doc comments form <noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/functions-xml.html
> Description:
>
> cursor_to_xml ( cursor refcursor, count integer, nulls boolean,
> tableforest boolean, targetns text ) → xml
>
> There is not explanation what the count parameter do.
It's described in the function text without the name of the parameter being
explicitly mentioned:
"cursor_to_xml fetches the indicated number of rows from the cursor
specified by the parameter cursor"
That could be rewritten to include the name of the parameter like: "fetches the
number of rows indicated by the parameter count from the cursor specified by
the parameter cursor". We do mention every other parameter explicitly so it
would make sense to do so here as well.
--
Daniel Gustafsson
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-09-25 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-25 08:50 Count parameter for cursor_to_xml PG Doc comments form <noreply@postgresql.org>
2024-09-25 11:24 ` Daniel Gustafsson <daniel@yesql.se>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox