Remove 'additional' pointer from TupleHashEntryData.

Jeff Davis <jdavis@postgresql.org>

Commit: 626df47ad9db809dc8f93330175ab95b75914721
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2025-03-25T05:06:02Z
Releases: 18.0
Remove 'additional' pointer from TupleHashEntryData.

Reduces memory required for hash aggregation by avoiding an allocation
and a pointer in the TupleHashEntryData structure. That structure is
used for all buckets, whether occupied or not, so the savings is
substantial.

Discussion: https://postgr.es/m/AApHDvpN4v3t_sdz4dvrv1Fx_ZPw=twSnxuTEytRYP7LFz5K9A@mail.gmail.com
Reviewed-by: David Rowley <dgrowleyml@gmail.com>

Files

Discussion

Cited messages not in the archive: AApHDvpN4v3t_sdz4dvrv1Fx_ZPw=twSnxuTEytRYP7LFz5K9A@mail.gmail.com