pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedstring_agg
2+ messages / 2 participants
[nested] [flat]
* string_agg
@ 2023-12-27 22:38 PG Doc comments form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2023-12-27 22:38 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: j.v.keller@t-online.de
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/16/functions-aggregate.html
Description:
Please add the argument "distinct" to the documentation of the
aggregate-function "string_agg". It's used to omit any duplicates in the
result string.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: string_agg
@ 2023-12-28 22:52 David G. Johnston <david.g.johnston@gmail.com>
parent: PG Doc comments form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2023-12-28 22:52 UTC (permalink / raw)
To: j.v.keller@t-online.de <j.v.keller@t-online.de>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
On Wednesday, December 27, 2023, 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-aggregate.html
> Description:
>
> Please add the argument "distinct" to the documentation of the
> aggregate-function "string_agg". It's used to omit any duplicates in the
> result string.
>
string_agg isn’t special in this regard so instead of cluttering up every
function with distinct we instead choose to document it as a syntax feature
of aggregate functions in general.
https://www.postgresql.org/docs/16/sql-expressions.html#SYNTAX-AGGREGATES
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-12-28 22:52 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27 22:38 string_agg PG Doc comments form <noreply@postgresql.org>
2023-12-28 22:52 ` David G. Johnston <david.g.johnston@gmail.com>
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