From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ExecInitAgg: update aggstate->numaggs and ->numtrans earlier.
Date: Tue, 07 Jan 2025 23:15:37 +0000
Message-ID: <E1tVInQ-000PUM-Or@gemulon.postgresql.org> (raw)
ExecInitAgg: update aggstate->numaggs and ->numtrans earlier.
Functions hash_agg_entry_size() and build_hash_tables() make use of
those values for memory size estimates.
Because this change only affects memory estimates, don't backpatch.
Discussion: https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3f482940dbcbd15834a67894f4d9efdf5ceb7e16
Modified Files
--------------
src/backend/executor/nodeAgg.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
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: ExecInitAgg: update aggstate->numaggs and ->numtrans earlier.
In-Reply-To: <E1tVInQ-000PUM-Or@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