postgresql/src/backend/parser
Tom Lane b7b78d24f7 Code review for FILLFACTOR patch. Change WITH grammar as per earlier
discussion (including making def_arg allow reserved words), add missed
opt_definition for UNIQUE case.  Put the reloptions support code in a less
random place (I chose to make a new file access/common/reloptions.c).
Eliminate header inclusion creep.  Make the index options functions safely
user-callable (seems like client apps might like to be able to test validity
of options before trying to make an index).  Reduce overhead for normal case
with no options by allowing rd_options to be NULL.  Fix some unmaintainably
klugy code, including getting rid of Natts_pg_class_fixed at long last.
Some stylistic cleanup too, and pay attention to keeping comments in sync
with code.

Documentation still needs work, though I did fix the omissions in
catalogs.sgml and indexam.sgml.
2006-07-03 22:45:41 +00:00
..
.cvsignore Add .cvsignore file so cvs doesn't complain if you have lex/yacc 1999-03-21 02:43:58 +00:00
analyze.c Code review for FILLFACTOR patch. Change WITH grammar as per earlier 2006-07-03 22:45:41 +00:00
gram.y Code review for FILLFACTOR patch. Change WITH grammar as per earlier 2006-07-03 22:45:41 +00:00
keywords.c Add INCLUDING CONSTRAINTS to CREATE TABLE LIKE. 2006-06-27 03:43:20 +00:00
Makefile Re-introduce the yylex filter function formerly used to support UNION 2006-05-27 17:38:46 +00:00
parse_agg.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parse_clause.c Code review for FILLFACTOR patch. Change WITH grammar as per earlier 2006-07-03 22:45:41 +00:00
parse_coerce.c Fix problems with cached tuple descriptors disappearing while still in use 2006-06-16 18:42:24 +00:00
parse_expr.c Change the row constructor syntax (ROW(...)) so that list elements foo.* 2006-06-26 17:24:41 +00:00
parse_func.c Support the syntax 2006-04-15 17:45:46 +00:00
parse_node.c Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
parse_oper.c Provide a namespace.c function for lookup of an operator with exact 2006-05-01 23:22:43 +00:00
parse_relation.c Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
parse_target.c Change the row constructor syntax (ROW(...)) so that list elements foo.* 2006-06-26 17:24:41 +00:00
parse_type.c Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
parser.c Re-introduce the yylex filter function formerly used to support UNION 2006-05-27 17:38:46 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Add a new GUC parameter backslash_quote, which determines whether the SQL 2006-05-21 20:10:42 +00:00
scansup.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00

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