pgsql: Convert planner's AggInfo and AggTransInfo structs to proper Nod

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Convert planner's AggInfo and AggTransInfo structs to proper Nod
Date: 2022-07-19 16:29:45
Message-ID: E1oDq6S-000IAr-Fx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2022-07-19 17:35:25 pgsql: relnotes: improve wording of several PG 15 items
Previous Message Andres Freund 2022-07-19 15:40:04 Re: pgsql: Default to hidden visibility for extension libraries where possi