Generalize the common code of adding sort before processing of grouping
Alexander Korotkov <akorotkov@postgresql.org>
Generalize the common code of adding sort before processing of grouping Extract the repetitive code pattern into a new function make_ordered_path(). Discussion: https://postgr.es/m/CAPpHfdtzaVa7S4onKy3YvttF2rrH5hQNHx9HtcSTLbpjx%2BMJ%2Bw%40mail.gmail.com Author: Andrei Lepikhov
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +80 −148 |
Discussion
- POC: GROUP BY optimization 172 messages · 2018-05-29 → 2024-06-04