diff options
| author | Chris Muthig <camuthig@gmail.com> | 2024-12-22 16:30:55 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-03 11:37:00 +0100 |
| commit | 4b977a5d7283e7ca51288cc0ed0860e0004653ca (patch) | |
| tree | 0e9473c86dadb67af745171084564d9359054564 /docs/ref/contrib/postgres | |
| parent | 6d1cf5375f6fbc1496095d2356357c3b08a46324 (diff) | |
Fixed #35444 -- Added generic support for Aggregate.order_by.
This moves the behaviors of `order_by` used in Postgres aggregates into
the `Aggregate` class. This allows for creating aggregate functions that
support this behavior across all database engines. This is shown by
moving the `StringAgg` class into the shared `aggregates` module and
adding support for all databases. The Postgres `StringAgg` class is now
a thin wrapper on the new shared `StringAgg` class.
Thank you Simon Charette for the review.
Diffstat (limited to 'docs/ref/contrib/postgres')
| -rw-r--r-- | docs/ref/contrib/postgres/aggregates.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt index 80c8acf80b..d590eb384f 100644 --- a/docs/ref/contrib/postgres/aggregates.txt +++ b/docs/ref/contrib/postgres/aggregates.txt @@ -194,6 +194,8 @@ General-purpose aggregation functions .. class:: StringAgg(expression, delimiter, distinct=False, filter=None, default=None, order_by=()) + .. deprecated:: 6.0 + Returns the input values concatenated into a string, separated by the ``delimiter`` string, or ``default`` if there are no values. |
