postgresql/src/backend/parser
Tom Lane 1bdd7c68c0 Avoid redundant SysCache searches in coerce_type, for another
few percent speedup in INSERT...
1999-05-29 03:17:20 +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 here are some patches for 6.5.0 which I already submitted but have never 1999-05-03 19:10:48 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Make 0x007f -> (unsigned)0x7f to make pgindent happy. 1999-05-25 22:04:56 +00:00
gram.y Fix for select 1;select 2 without trailing semi. 1999-05-22 05:06:43 +00:00
keywords.c Add keywords to implement Vadim's transaction isolation 1999-05-12 07:22:52 +00:00
parse_agg.c pgindent run over code. 1999-05-25 16:15:34 +00:00
parse_clause.c Make functions static or NOT_USED as appropriate. 1999-05-26 12:57:23 +00:00
parse_coerce.c Avoid redundant SysCache searches in coerce_type, for another 1999-05-29 03:17:20 +00:00
parse_expr.c Make functions static or NOT_USED as appropriate. 1999-05-26 12:57:23 +00:00
parse_func.c pgindent run over code. 1999-05-25 16:15:34 +00:00
parse_node.c Fix for DEFAULT ''. 1999-05-22 04:12:29 +00:00
parse_oper.c pgindent run over code. 1999-05-25 16:15:34 +00:00
parse_relation.c pgindent run over code. 1999-05-25 16:15:34 +00:00
parse_target.c Avoid redundant SysCache searches in coerce_type, for another 1999-05-29 03:17:20 +00:00
parse_type.c Avoid redundant SysCache searches in coerce_type, for another 1999-05-29 03:17:20 +00:00
parser.c pgindent run over code. 1999-05-25 16:15:34 +00:00
scan.l Keep long non-quoted numeric strings *as* untyped strings if they fail 1999-05-12 07:12:51 +00:00
scansup.c pgindent run over code. 1999-05-25 16:15:34 +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