pgsql: Fix unstable aggregate regression test

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix unstable aggregate regression test
Date: 2024-03-27 11:14:36
Message-ID: E1rpREq-005vI7-96@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_16_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-03-27 13:42:02 Re: pgsql: Clean up role created in new subscription test.
Previous Message David Rowley 2024-03-27 11:14:10 pgsql: Fix unstable aggregate regression test