pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix unstable aggregate regression test
Date: Wed, 27 Mar 2024 11:14:10 +0000
Message-ID: <E1rpREP-005vHH-Pn@gemulon.postgresql.org> (raw)

Fix unstable aggregate regression test

Buildfarm member avocet has shown a plan change by switching the
finalize aggregate stage to use a GroupAggregate rather than a
HashAggregate.  This is consistent with autovacuum having triggered on
the table, per analysis by Alexander Lakhin.

Fix this by disabling autovacuum on the table.

Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/d4493a28-589a-5328-fed5-250f2d7d3e2a@gmail.com
Backpatch-through: 16, where this test was added.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d6a6957d53e3de9982b076b6ddd703be3d0ae30a

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



view thread (3+ messages)  latest in thread

Message-ID: <E1rpREP-005vHH-Pn@gemulon.postgresql.org>
Permalink:  ../E1rpREP-005vHH-Pn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rpREP-005vHH-Pn@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix unstable aggregate regression test
  In-Reply-To: <E1rpREP-005vHH-Pn@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