mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-08 13:19:19 +02:00
sort order down into planner, instead of handling it only at the very top level of the planner. This fixes many things. An explicit sort is now avoided if there is a cheaper alternative (typically an indexscan) not only for ORDER BY, but also for the internal sort of GROUP BY. It works even when there is no other reason (such as a WHERE condition) to consider the indexscan. It works for indexes on functions. It works for indexes on functions, backwards. It's just so cool... CAUTION: I have changed the representation of SortClause nodes, therefore THIS UPDATE BREAKS STORED RULES. You will need to initdb. |
||
---|---|---|
.. | ||
analyze.h | ||
gramparse.h | ||
keywords.h | ||
parse_agg.h | ||
parse_clause.h | ||
parse_coerce.h | ||
parse_expr.h | ||
parse_func.h | ||
parse_node.h | ||
parse_oper.h | ||
parse_relation.h | ||
parse_target.h | ||
parse_type.h | ||
parser.h | ||
parsetree.h | ||
scansup.h |