postgresql/src/backend/parser
Bruce Momjian 802a4d4111 Change MOVE LAST to MOVE ALL.
Standard says FETCH LAST is after last row, and we don't do that.
2003-02-03 14:04:24 +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 Tweak bison build rules so that we get the same error messages from 2003-01-31 20:58:00 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code 2003-01-17 03:25:04 +00:00
gram.y Change MOVE LAST to MOVE ALL. 2003-02-03 14:04:24 +00:00
keywords.c Change MOVE LAST to MOVE ALL. 2003-02-03 14:04:24 +00:00
parse_agg.c Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code 2003-01-17 03:25:04 +00:00
parse_clause.c Fix ALTER TABLE ADD COLUMN to disallow the same column types that are 2002-12-16 18:39:22 +00:00
parse_coerce.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_expr.c Recent changes in sublink representation require exprType() to accept 2003-01-13 00:18:51 +00:00
parse_func.c Phase 2 of read-only-plans project: restructure expression-tree nodes 2002-12-12 15:49:42 +00:00
parse_node.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_oper.c Tighten selection of equality and ordering operators for grouping 2002-11-29 21:39:12 +00:00
parse_relation.c Phase 2 of read-only-plans project: restructure expression-tree nodes 2002-12-12 15:49:42 +00:00
parse_target.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_type.c pgindent run. 2002-09-04 20:31:48 +00:00
parser.c pgindent run. 2002-09-04 20:31:48 +00:00
scan.l Add cast to suppress compile warning on Alphas. 2002-11-11 03:33:38 +00:00
scansup.c Be careful to include postgres.h *before* any system headers, to ensure 2002-09-05 00:43:07 +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