Re: string_agg - Mailing list pgsql-docs

From David G. Johnston
Subject Re: string_agg
Date
Msg-id CAKFQuwbGRVkSVnVmvMR6Gq+SnUSHyH7VVa2BO+vJDTjqSc5umA@mail.gmail.com
Whole thread Raw
In response to string_agg  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
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.


David J.

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: string_agg
Next
From: Dull Bananas
Date:
Subject: Transition relation clarification