* get_sortgroupclause_expr * Find the targetlist entry matching the given SortGroupClause * by ressortgroupref, and return its expression. */
| 518 | * by ressortgroupref, and return its expression. |
| 519 | */ |
| 520 | Node * |
| 521 | get_sortgroupclause_expr(SortGroupClause *sgClause, List *targetList) |
| 522 | { |
| 523 | TargetEntry *tle = get_sortgroupclause_tle(sgClause, targetList); |
| 524 | |
| 525 | return (Node *) tle->expr; |
| 526 | } |
| 527 | |
| 528 | /* |
| 529 | * get_sortgrouplist_exprs |
no test coverage detected