1
This directory does more than tokenize and parse SQL queries. It also
2
creates Query structures for the various complex queries that is passed
3
to the optimizer and then executor.
5
parser.c things start here
6
scan.l break query into tokens
7
scansup.c handle escapes in input
8
keywords.c turn keywords into specific tokens
9
gram.y parse the tokens and fill query-type-specific structures
10
analyze.c handle post-parse processing for each query type
11
parse_clause.c handle clauses like WHERE, ORDER BY, GROUP BY, ...
12
parse_coerce.c used for coercing expressions of different types
13
parse_expr.c handle expressions like col, col + 3, x = 3 or x = 4
14
parse_oper.c handle operations in expressions
15
parse_agg.c handle aggregates, like SUM(col1), AVG(col2), ...
16
parse_func.c handle functions, table.column and column identifiers
17
parse_node.c create nodes for various structures
18
parse_target.c handle the result list of the query
19
parse_relation.c support routines for tables and column handling
20
parse_type.c support routines for type handling