forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdece64a
committed
Fix incorrect comment for get_agg_clause_costs
Adjust the header comment in get_agg_clause_costs so that it matches whatthe function currently does. No recursive searching has been done eversince0a2bc5d. It also does not determine the aggtranstype like thecomment claimed. That's all done in preprocess_aggref().preprocess_aggref also now determines the numOrderedAggs, so remove themention that get_agg_clause_costs also calculates "counts".Normally, since this is just an adjustment of a comment it might not beworth back-patching, but since this code is new to PG14 and that versionis still in beta, then it seems worth having the comments match.Discussion:https://postgr.es/m/CAApHDvrrGrTJFPELrjx0CnDtz9B7Jy2XYW3Z2BKifAWLSaJYwQ@mail.gmail.comBackpatch-though: 141 parentb0d2867 commitdece64a
1 file changed
+12
-16
lines changedLines changed: 12 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
515 | 515 |
| |
516 | 516 |
| |
517 | 517 |
| |
518 |
| - | |
519 |
| - | |
| 518 | + | |
| 519 | + | |
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
523 | 523 |
| |
524 |
| - | |
525 |
| - | |
| 524 | + | |
| 525 | + | |
526 | 526 |
| |
527 |
| - | |
528 |
| - | |
529 |
| - | |
530 |
| - | |
531 |
| - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
532 | 533 |
| |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
538 |
| - | |
539 |
| - | |
| 534 | + | |
| 535 | + | |
540 | 536 |
| |
541 | 537 |
| |
542 | 538 |
| |
|
0 commit comments
Comments
(0)