postgresql/src/backend/parser
Peter Eisentraut 32163099d7 Add distprep target to take some of the job of the release_prep script.
The latter updated accordingly. Also add `dist' and `distcheck' targets
to play with, but caveat packager.

Updated backend/bootstrap and backend/parser makefile to make them
marginally builddir aware and fix the usual set of things.

Add rule to automatically remake config.h dependent on config.h.in and
config.status. (Adopted from Autoconf manual and about every other
package.) On a good day we should now have a complete and accurate set
of dependencies throughout everything.
2000-07-19 16:30:27 +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 Add distprep target to take some of the job of the release_prep script. 2000-07-19 16:30:27 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Remove useless and dangerous 'opt_type' option from CREATE INDEX. 2000-07-15 00:01:41 +00:00
gram.y Remove useless and dangerous 'opt_type' option from CREATE INDEX. 2000-07-15 00:01:41 +00:00
keywords.c Implement nested block comments in the backend and in psql. 2000-07-14 15:43:57 +00:00
parse_agg.c Revise aggregate functions per earlier discussions in pghackers. 2000-07-17 03:05:41 +00:00
parse_clause.c Clean up #include's. 2000-06-15 03:33:12 +00:00
parse_coerce.c Update textin() and textout() to new fmgr style. This is just phase 2000-07-05 23:12:09 +00:00
parse_expr.c Clean up #include's. 2000-06-15 03:33:12 +00:00
parse_func.c Final #include cleanup. 2000-06-15 04:10:30 +00:00
parse_node.c Update textin() and textout() to new fmgr style. This is just phase 2000-07-05 23:12:09 +00:00
parse_oper.c First round of changes for new fmgr interface. fmgr itself and the 2000-05-28 17:56:29 +00:00
parse_relation.c Attached is a new patch which addresses this problem. (oids in 2000-07-02 22:01:27 +00:00
parse_target.c Clean up #include's. 2000-06-15 03:33:12 +00:00
parse_type.c Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
parser.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
scan.l Implement nested block comments in the backend and in psql. 2000-07-14 15:43:57 +00:00
scansup.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +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