pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Further improve stability fix for partition_aggregate test.
Date: Sun, 05 Apr 2020 04:53:44 +0000
Message-ID: <E1jKxI0-0000CW-3e@gemulon.postgresql.org> (raw)

Further improve stability fix for partition_aggregate test.

Commit 7cb0a423f overlooked that the multi-level partition test table
pagg_tab_ml still had an exactly even row split at its upper level of
partitioning, so that some of the sub-aggregation plan steps still had
exactly equal costs, leading to plan instability.  Tweak the partition
boundaries some more to make the row distribution unequal at both
levels.  This leads to more changes in the "expected" plan order than
the previous round, but it seems fine.  (Actually, I'm surprised that
this didn't affect even more plans in this test: looking at the
underlying costs shows that some of the parallel plan groups are
*not* getting sorted by cost.  Bug?)

Per buildfarm member lousyjack,
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lousyjack&dt=2020-04-04%2021%3A03%3A04

Discussion: https://postgr.es/m/24467.1585838693@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/18d85e9b8a2b784bcee350c59cf20c5c697a1c1f

Modified Files
--------------
src/test/regress/expected/partition_aggregate.out | 64 +++++++++++------------
src/test/regress/sql/partition_aggregate.sql      |  4 +-
2 files changed, 34 insertions(+), 34 deletions(-)



Message-ID: <E1jKxI0-0000CW-3e@gemulon.postgresql.org>
Permalink:  ../E1jKxI0-0000CW-3e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jKxI0-0000CW-3e@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Further improve stability fix for partition_aggregate test.
  In-Reply-To: <E1jKxI0-0000CW-3e@gemulon.postgresql.org>
  References: <E1jKxI0-0000CW-3e@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