From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert planner's AggInfo and AggTransInfo structs to proper Nod
Date: Tue, 19 Jul 2022 16:29:45 +0000
Message-ID: <E1oDq6S-000IAr-Fx@gemulon.postgresql.org> (raw)
Convert planner's AggInfo and AggTransInfo structs to proper Nodes.
This is mostly just to get outfuncs.c support for them, so that
the agginfos and aggtransinfos lists can be dumped when dumping
the contents of PlannerInfo.
While here, improve some related comments; notably, clean up
obsolete comments left over from when preprocess_minmax_aggregates
had to make its own scan of the query tree.
Discussion: https://postgr.es/m/742479.1658160504@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d6a3aeb9a37bdbb5aa8ed03a9f95e2b1a1b44ba7
Modified Files
--------------
src/backend/optimizer/plan/planagg.c | 20 ++++++++---------
src/backend/optimizer/prep/prepagg.c | 16 ++++++++------
src/include/nodes/pathnodes.h | 42 ++++++++++++++++++++++--------------
3 files changed, 45 insertions(+), 33 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Convert planner's AggInfo and AggTransInfo structs to proper Nod
In-Reply-To: <E1oDq6S-000IAr-Fx@gemulon.postgresql.org>
References: <E1oDq6S-000IAr-Fx@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