Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbac80c2

Browse files
committed
Add README for parser directory
1 parentd79b9a1 commitbac80c2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎src/backend/parser/README

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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.
4+
5+
parser.cthings start here
6+
scan.lbreak query into tokens
7+
scansup.chandle escapes in input
8+
keywords.cturn keywords into specific tokens
9+
gram.yparse the tokens and fill query-type-specific structures
10+
analyze.cone function for every complex query type like SELECT, INSERT...
11+
parse_clause.chandle clauses like WHERE, ORDER BY, GROUP BY, ...
12+
parse_expr.chandle expressions like col, col + 3, x = 3 or x = 4
13+
parse_oper.chandle operations in expressions
14+
parse_agg.chandle aggregates, like SUM(col1), AVG(col2), ...
15+
parse_func.chandle functions like date_part(col3), trim(col4), ...
16+
17+
parse_node.ccreate nodes for various structures
18+
parse_target.chandle the result list of the query
19+
parse_relation.c support routines for tables and column handling
20+
parse_type.csupport routines for type handling

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp