[HACKERS] Parallel Aggregation support for aggregate functions that use transitions not implemented for array_agg - Mailing list pgsql-hackers

From Regina Obe
Subject [HACKERS] Parallel Aggregation support for aggregate functions that use transitions not implemented for array_agg
Date
Msg-id 000201d2deed$b4c37710$1e4a6530$@pcorp.us
Whole thread Raw
Responses Re: [HACKERS] Parallel Aggregation support for aggregate functionsthat use transitions not implemented for array_agg
Re: [HACKERS] Parallel Aggregation support for aggregate functionsthat use transitions not implemented for array_agg
List pgsql-hackers
It seems CREATE  AGGREGATE was expanded in 9.6 to support parallelization of
aggregate functions using transitions, with the addition of serialfunc and
deserialfunc to the aggregate definitions.

https://www.postgresql.org/docs/10/static/sql-createaggregate.html

I was looking at the PostgreSQL 10 source code for some example usages of
this and was hoping that array_agg and string_agg would support the feature.
At a cursory glance, it seems they do not use this.
Examples I see that do support it are the average and standard deviation
functions.

Is there a reason for this or it just wasn't gotten to?


Thanks,
Regina






pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Get stuck when dropping a subscription duringsynchronizing table
Next
From: Robert Haas
Date:
Subject: Re: retry shm attach for windows (WAS: Re: [HACKERS] OK, so culicidaeis *still* broken)