Injection points for hash aggregation.
authorJeff Davis <jdavis@postgresql.org>
Tue, 11 Feb 2025 19:26:25 +0000 (11:26 -0800)
committerJeff Davis <jdavis@postgresql.org>
Tue, 11 Feb 2025 19:26:25 +0000 (11:26 -0800)
commit38172d1856b34792a5ee60eaa0d883166e90d33d
treed04e08a60d98233b35d915f1f770b4013a45ae52
parent052026c9b903380b428a4c9ba2ec90726db81288
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: http://postgr.es/m/ff4e59305e5d689e03cd256a736348d3e7958f8f.camel@j-davis.com
src/backend/executor/nodeAgg.c
src/test/modules/injection_points/Makefile
src/test/modules/injection_points/expected/hashagg.out [new file with mode: 0644]
src/test/modules/injection_points/meson.build
src/test/modules/injection_points/sql/hashagg.sql [new file with mode: 0644]