From 16fd03e956540d1b47b743f6a84f37c54ac93dd4 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Mon, 23 Jan 2023 17:35:01 +1300 Subject: Allow parallel aggregate on string_agg and array_agg This adds combine, serial and deserial functions for the array_agg() and string_agg() aggregate functions, thus allowing these aggregates to partake in partial aggregations. This allows both parallel aggregation to take place when these aggregates are present and also allows additional partition-wise aggregation plan shapes to include plans that require additional aggregation once the partially aggregated results from the partitions have been combined. Author: David Rowley Reviewed-by: Andres Freund, Tomas Vondra, Stephen Frost, Tom Lane Discussion: https://postgr.es/m/CAKJS1f9sx_6GTcvd6TMuZnNtCh0VhBzhX6FZqw17TgVFH-ga_A@mail.gmail.com --- doc/src/sgml/func.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index b8dac9ef467..e09e289a438 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -19746,7 +19746,7 @@ SELECT NULLIF(value, '(none)') ... Collects all the input values, including nulls, into an array. - No + Yes @@ -19759,7 +19759,7 @@ SELECT NULLIF(value, '(none)') ... dimension. (The inputs must all have the same dimensionality, and cannot be empty or null.) - No + Yes @@ -20099,7 +20099,7 @@ SELECT NULLIF(value, '(none)') ... after the first is preceded by the corresponding delimiter (if it's not null). - No + Yes -- cgit v1.2.3