Re: Convert planner's AggInfo and AggTransInfo to Nodes
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2022-07-19T15:49:34Z
Lists: pgsql-hackers
On 18.07.22 18:08, Tom Lane wrote: > I'm kind of tempted to mount an effort to get rid of as many of > pathnodes.h's "read_write_ignore" annotations as possible. Some are > necessary to prevent infinite recursion, and others represent considered > judgments that they'd bloat node dumps more than they're worth --- but > I think quite a lot of them arose from plain laziness about updating > outfuncs.c. With the infrastructure we have now, that's no longer > a good reason. That was my impression as well, and I agree it would be good to sort that out.
Commits
-
Dump more fields when dumping planner internal data structures.
- af119e08fd14 16.0 landed
-
Make serialization of Nodes' scalar-array fields more robust.
- 2d04277121f2 16.0 landed
-
Convert planner's AggInfo and AggTransInfo structs to proper Nodes.
- d6a3aeb9a37b 16.0 landed