Make GROUP BY work properly for datatypes that only support hashing and not
Tom Lane <tgl@sss.pgh.pa.us>
Make GROUP BY work properly for datatypes that only support hashing and not sorting. The infrastructure for this was all in place already; it's only necessary to fix the planner to not assume that sorting is always an available option.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planmain.c | modified | +2 −3 |
| src/backend/optimizer/plan/planner.c | modified | +108 −49 |
| src/backend/parser/parse_clause.c | modified | +2 −6 |