pgsql: Injection points for hash aggregation.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Injection points for hash aggregation.
Date: 2025-02-11 19:46:08
Message-ID: E1thwCu-006baZ-2d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Injection points for hash aggregation.

Requires adding a guard against shift-by-32. Previously, that was
impossible because the number of partitions was always greater than 1,
but a new injection point can force the number of partitions to 1.

Discussion: https://postgr.es/m/ff4e59305e5d689e03cd256a736348d3e7958f8f.camel@j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/38172d1856b34792a5ee60eaa0d883166e90d33d

Modified Files
--------------
src/backend/executor/nodeAgg.c | 48 ++++++++++++++-
src/test/modules/injection_points/Makefile | 2 +-
.../modules/injection_points/expected/hashagg.out | 68 ++++++++++++++++++++++
src/test/modules/injection_points/meson.build | 1 +
src/test/modules/injection_points/sql/hashagg.sql | 26 +++++++++
5 files changed, 141 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2025-02-11 21:54:04 pgsql: Limit pgbench COPY FREEZE to ordinary relations
Previous Message Melanie Plageman 2025-02-11 18:55:28 pgsql: Eagerly scan all-visible pages to amortize aggressive vacuum