postgresql/src/include/parser
Tom Lane db436adf76 Major revision of sort-node handling: push knowledge of query
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.
1999-08-21 03:49:17 +00:00
..
analyze.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
gramparse.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
keywords.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
parse_agg.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
parse_clause.h Major revision of sort-node handling: push knowledge of query 1999-08-21 03:49:17 +00:00
parse_coerce.h More cleanup 1999-07-16 17:07:40 +00:00
parse_expr.h Revise parse_coerce() to handle coercion of int and float 1999-08-05 02:33:54 +00:00
parse_func.h Major revision of sort-node handling: push knowledge of query 1999-08-21 03:49:17 +00:00
parse_node.h Rewrite parser's handling of INSERT ... SELECT so that processing 1999-07-19 00:26:20 +00:00
parse_oper.h Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
parse_relation.h Rewrite parser's handling of INSERT ... SELECT so that processing 1999-07-19 00:26:20 +00:00
parse_target.h Rewrite parser's handling of INSERT ... SELECT so that processing 1999-07-19 00:26:20 +00:00
parse_type.h Revise parse_coerce() to handle coercion of int and float 1999-08-05 02:33:54 +00:00
parser.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
parsetree.h Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
scansup.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00