postgresql/src/backend/parser
Tom Lane da2060e5fd Remove premature attempt to constant-fold type coercion expressions.
While usually safe, this fails if the coercion function needs the
query snapshot to be set already.  Per example from Nigel Andrews.
2003-04-10 02:47:46 +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 This patch implements holdable cursors, following the proposal 2003-03-27 16:51:29 +00:00
gram.y First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
keywords.c First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
Makefile Get rid of last few vestiges of parsetree dependency on grammar token 2003-02-10 04:44:47 +00:00
parse_agg.c Repair incorrect checking of grouped/ungrouped variables in the presence 2003-04-03 18:04:09 +00:00
parse_clause.c Adjust subquery qual pushdown rules to be more forgiving: if a qual 2003-03-22 01:49:38 +00:00
parse_coerce.c Remove premature attempt to constant-fold type coercion expressions. 2003-04-10 02:47:46 +00:00
parse_expr.c First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
parse_func.c First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
parse_node.c First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
parse_oper.c First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +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 First phase of work on array improvements. ARRAY[x,y,z] constructor 2003-04-08 23:20:04 +00:00
parse_type.c Restructure parsetree representation of DECLARE CURSOR: now it's a 2003-03-10 03:53:52 +00:00
parser.c pgindent run. 2002-09-04 20:31:48 +00:00
README cleanup 1998-08-23 14:43:46 +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

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