>>>>> "Andrew" == Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
Andrew> I've been testing Heikki's patch with the havingQual condition
Andrew> removed, and I haven't found any issues yet.
Further experimentation reveals that this change has the effect of
blocking constant-folding in aggregate input expressions that refer to
constant outputs of the subquery.
Is it worth doing anything about that?
--
Andrew (irc:RhodiumToad)