Force parallelism in partition_aggregate
Tomas Vondra <tomas.vondra@postgresql.org>
Force parallelism in partition_aggregate Commit db0d67db2 tweaked sort costing, which however resulted in a couple plan changes in our regression tests. Most of the new plans were fine, but partition_aggregate were meant to test parallel plans and the new plans were serial. Fix that by lowering parallel_setup_cost to 0, which is enough to switch to the parallel plan again. Report and patch by David Rowley. Author: David Rowley Reviewed-by: Tomas Vondra Discussion: https://postgr.es/m/CAApHDvpVFgWzXdtUQkjyOPhNrNvumRi_=ftgS79KeAZ92tnHKQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/partition_aggregate.out | modified | +60 −54 |
| src/test/regress/sql/partition_aggregate.sql | modified | +3 −0 |
Discussion
- POC: GROUP BY optimization 172 messages · 2018-05-29 → 2024-06-04