• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.gitignoreH A D08-Nov-202124 43

MakefileH A D08-Nov-20211.9 KiB7136

READMEH A D08-Nov-20211.5 KiB3328

analyze.cH A D08-Nov-2021103.4 KiB3,4261,999

check_keywords.plH A D08-Nov-20216.1 KiB282202

gram.cH A D08-Nov-20212.3 MiB47,98644,640

gram.hH A D08-Nov-202112.5 KiB618564

gram.yH A D08-Nov-2021449 KiB17,26513,994

parse_agg.cH A D08-Nov-202160.8 KiB2,1501,374

parse_clause.cH A D08-Nov-2021114 KiB3,7072,107

parse_coerce.cH A D08-Nov-2021104.1 KiB3,2751,989

parse_collate.cH A D08-Nov-202134.1 KiB1,058543

parse_cte.cH A D08-Nov-202136.4 KiB1,167796

parse_enr.cH A D08-Nov-2021811 3012

parse_expr.cH A D08-Nov-202185.3 KiB3,1022,167

parse_func.cH A D08-Nov-202184.2 KiB2,6801,690

parse_node.cH A D08-Nov-202114.2 KiB469230

parse_oper.cH A D08-Nov-202129.5 KiB1,067616

parse_param.cH A D08-Nov-202110.8 KiB364221

parse_relation.cH A D08-Nov-2021104.3 KiB3,6682,233

parse_target.cH A D08-Nov-202154.9 KiB1,9661,234

parse_type.cH A D08-Nov-202121.2 KiB810502

parse_utilcmd.cH A D08-Nov-2021130.1 KiB4,3722,800

parser.cH A D08-Nov-202113.1 KiB502328

scan.cH A D08-Nov-2021375.8 KiB8,0716,337

scan.lH A D08-Nov-202140 KiB1,430934

scansup.cH A D08-Nov-20213.5 KiB12856

README

1src/backend/parser/README
2
3Parser
4======
5
6This directory does more than tokenize and parse SQL queries.  It also
7creates Query structures for the various complex queries that are passed
8to the optimizer and then executor.
9
10parser.c	things start here
11scan.l		break query into tokens
12scansup.c	handle escapes in input strings
13gram.y		parse the tokens and produce a "raw" parse tree
14analyze.c	top level of parse analysis for optimizable queries
15parse_agg.c	handle aggregates, like SUM(col1),  AVG(col2), ...
16parse_clause.c	handle clauses like WHERE, ORDER BY, GROUP BY, ...
17parse_coerce.c	handle coercing expressions to different data types
18parse_collate.c	assign collation information in completed expressions
19parse_cte.c	handle Common Table Expressions (WITH clauses)
20parse_expr.c	handle expressions like col, col + 3, x = 3 or x = 4
21parse_func.c	handle functions, table.column and column identifiers
22parse_node.c	create nodes for various structures
23parse_oper.c	handle operators in expressions
24parse_param.c	handle Params (for the cases used in the core backend)
25parse_relation.c support routines for tables and column handling
26parse_target.c	handle the result list of the query
27parse_type.c	support routines for data type handling
28parse_utilcmd.c	parse analysis for utility commands (done at execution time)
29
30See also src/common/keywords.c, which contains the table of standard
31keywords and the keyword lookup function.  We separated that out because
32various frontend code wants to use it too.
33