postgresql/src/backend/optimizer/prep
David Rowley dece64a941 Fix incorrect comment for get_agg_clause_costs
Adjust the header comment in get_agg_clause_costs so that it matches what
the function currently does.  No recursive searching has been done ever
since 0a2bc5d61.  It also does not determine the aggtranstype like the
comment claimed. That's all done in preprocess_aggref().
preprocess_aggref also now determines the numOrderedAggs, so remove the
mention that get_agg_clause_costs also calculates "counts".

Normally, since this is just an adjustment of a comment it might not be
worth back-patching, but since this code is new to PG14 and that version
is still in beta, then it seems worth having the comments match.

Discussion: https://postgr.es/m/CAApHDvrrGrTJFPELrjx0CnDtz9B7Jy2XYW3Z2BKifAWLSaJYwQ@mail.gmail.com
Backpatch-though: 14
2021-07-26 14:56:09 +12:00
..
Makefile Move per-agg and per-trans duplicate finding to the planner. 2020-11-24 10:45:00 +02:00
prepagg.c Fix incorrect comment for get_agg_clause_costs 2021-07-26 14:56:09 +12:00
prepjointree.c Avoid creating a RESULT RTE that's marked LATERAL. 2021-07-09 13:38:24 -04:00
prepqual.c Speedup ScalarArrayOpExpr evaluation 2021-04-08 23:51:22 +12:00
preptlist.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
prepunion.c Get rid of artificial restriction on hash table sizes on Windows. 2021-07-25 14:02:27 -04:00