Re: BUG #17088: FailedAssertion in prepagg.c
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Michael Paquier <michael@paquier.xyz>, cyg0810@gmail.com,
pgsql-bugs@lists.postgresql.org
Date: 2021-07-07T21:22:17Z
Lists: pgsql-bugs
Andrew Gierth <andrew@tao11.riddles.org.uk> writes: > A number of places in the planner have to explicitly avoid recursing > into GroupingFunc->args when walking trees specifically because they are > not evaluated. It looks to me like some places where that should have > been checked for were missed. Looking into it. Hmm. Maybe it'd be better if the default behavior in expression_tree_walker/mutator did not include recursing into the args, then? I am thinking this might be comparable to SubLinks/SubPlans, where the walker has to take explicit action if it wants to recurse into the sub-query. regards, tom lane
Commits
-
Fix assorted missing logic for GroupingFunc nodes.
- dfefe38fbea4 13.7 landed
- 69c88e2fb0aa 12.11 landed
- 5de244196a5b 11.16 landed
- 48b6035f0f72 14.3 landed
- 2afa031ac552 10.21 landed
- 2591ee8ec44d 15.0 landed