pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Injection points for hash aggregation.
Date: Tue, 11 Feb 2025 19:46:08 +0000
Message-ID: <E1thwCu-006baZ-2d@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1thwCu-006baZ-2d@gemulon.postgresql.org>
Permalink:  ../E1thwCu-006baZ-2d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1thwCu-006baZ-2d@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: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Injection points for hash aggregation.
  In-Reply-To: <E1thwCu-006baZ-2d@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