openGauss-server/src/common/backend/parser
Li Bingchen a349576e2c security policy adapt JDBC 2021-03-19 11:35:07 +08:00
..
Makefile Misc bugfixes 2021-03-06 12:39:28 +08:00
README 同步source code 2020-12-28 22:19:21 +08:00
analyze.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
gram.xml 同步source code 2020-12-28 22:19:21 +08:00
gram.y security policy adapt JDBC 2021-03-19 11:35:07 +08:00
hint_gram.y Misc bugfixes 2021-03-06 12:39:28 +08:00
hint_scan.l 同步source code 2020-12-28 22:19:21 +08:00
keywords.cpp 同步source code 2020-12-28 22:19:21 +08:00
kwlookup.cpp first commit for openGauss server 2020-06-30 17:38:27 +08:00
parse_agg.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_clause.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_coerce.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_collate.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_compatibility.cpp 同步source code 2020-12-28 22:19:21 +08:00
parse_cte.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_expr.cpp 同步source code 2020-12-28 22:19:21 +08:00
parse_func.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_hint.cpp 同步source code 2020-12-28 22:19:21 +08:00
parse_merge.cpp 同步source code 2020-12-28 22:19:21 +08:00
parse_node.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_oper.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_param.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_relation.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_target.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_type.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parse_utilcmd.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
parser.cpp Misc bugfixes 2021-03-06 12:39:28 +08:00
scan.l 支持不等于操作符:^= 2021-02-08 14:30:06 +08:00
scansup.cpp 同步source code 2020-12-28 22:19:21 +08:00

README

src/common/backend/parser/README

Parser
======

This directory does more than tokenize and parse SQL queries.  It also
creates Query structures for the various complex queries that are passed
to the optimizer and then executor.

parser.cpp	things start here
scan.l		break query into tokens
scansup.cpp	handle escapes in input strings
kwlookup.cpp	turn keywords into specific tokens
keywords.cpp	table of standard keywords (passed to kwlookup.c)
gram.y		parse the tokens and produce a "raw" parse tree
analyze.cpp	top level of parse analysis for optimizable queries
parse_agg.cpp	handle aggregates, like SUM(col1),  AVG(col2), ...
parse_clause.cpp	handle clauses like WHERE, ORDER BY, GROUP BY, ...
parse_compatibility.cpp	Handle A db compatibal syntax and feature support
parse_coerce.cpp	handle coercing expressions to different data types
parse_collate.cpp	assign collation information in completed expressions
parse_cte.cpp	handle Common Table Expressions (WITH clauses)
parse_expr.cpp	handle expressions like col, col + 3, x = 3 or x = 4
parse_func.cpp	handle functions, table.column and column identifiers
parse_node.cpp	create nodes for various structures
parse_oper.cpp	handle operators in expressions
parse_param.cpp	handle Params (for the cases used in the core backend)
parse_relation.cpp	support routines for tables and column handling
parse_target.cpp	handle the result list of the query
parse_type.cpp		support routines for data type handling
parse_utilcmd.cpp	parse analysis for utility commands (done at execution time)