postgresql/src/backend/parser
Bruce Momjian 46785776c4 Another pgindent run with updated typedefs. 2003-08-08 21:42:59 +00:00
..
.cvsignore Add .cvsignore file so cvs doesn't complain if you have lex/yacc 1999-03-21 02:43:58 +00:00
Makefile Adopt latest bison's spelling of 'syntax error' rather than 'parse error' 2003-05-29 20:40:36 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Another pgindent run with updated typedefs. 2003-08-08 21:42:59 +00:00
gram.y Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
keywords.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_agg.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_clause.c create_unique_plan() should not discard existing output columns of the 2003-08-07 19:20:24 +00:00
parse_coerce.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_expr.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_func.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_node.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_oper.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_relation.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_target.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parse_type.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
parser.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
scan.l Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
scansup.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00

README

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

parser.c	things start here
scan.l		break query into tokens
scansup.c	handle escapes in input
keywords.c	turn keywords into specific tokens
gram.y		parse the tokens and fill query-type-specific structures
analyze.c	handle post-parse processing for each query type
parse_clause.c	handle clauses like WHERE, ORDER BY, GROUP BY, ...
parse_coerce.c	used for coercing expressions of different types
parse_expr.c	handle expressions like col, col + 3, x = 3 or x = 4
parse_oper.c	handle operations in expressions
parse_agg.c	handle aggregates, like SUM(col1),  AVG(col2), ...
parse_func.c	handle functions, table.column and column identifiers
parse_node.c	create nodes for various structures
parse_target.c	handle the result list of the query
parse_relation.c support routines for tables and column handling
parse_type.c	support routines for type handling