pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Force parallelism in partition_aggregate
Date: Sun, 04 Sep 2022 22:08:20 +0000
Message-ID: <E1oUxmu-001Sys-9x@gemulon.postgresql.org> (raw)

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/01474f56981a4b27fe5e304a61b0fce2ac025c69

Modified Files
--------------
src/test/regress/expected/partition_aggregate.out | 114 ++++++++++++----------
src/test/regress/sql/partition_aggregate.sql      |   3 +
2 files changed, 63 insertions(+), 54 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1oUxmu-001Sys-9x@gemulon.postgresql.org>
Permalink:  ../E1oUxmu-001Sys-9x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oUxmu-001Sys-9x@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org
  Subject: Re: pgsql: Force parallelism in partition_aggregate
  In-Reply-To: <E1oUxmu-001Sys-9x@gemulon.postgresql.org>
  References: <E1oUxmu-001Sys-9x@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox