aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2021-07-26 14:55:31 +1200
committerDavid Rowley <drowley@postgresql.org>2021-07-26 14:55:31 +1200
commit2b58f894e56a1944e824e19c92337d6bf24d9c41 (patch)
treefc33bdaf763779085565f9551feae73ce1133c1b /src/backend/utils/adt/numeric.c
parent4ef64c425dbcda151c9f163aadff982343808e09 (diff)
downloadpostgresql-2b58f894e56a1944e824e19c92337d6bf24d9c41.tar.gz
postgresql-2b58f894e56a1944e824e19c92337d6bf24d9c41.zip
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
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions