postgresql/src/backend/parser
Tom Lane 47888fe842 First phase of OUT-parameters project. We can now define and use SQL
functions with OUT parameters.  The various PLs still need work, as does
pg_dump.  Rudimentary docs and regression tests included.
2005-03-31 22:46:33 +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 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Make the behavior of HAVING without GROUP BY conform to the SQL spec. 2005-03-10 23:21:26 +00:00
gram.y First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
keywords.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
parse_agg.c Convert oidvector and int2vector into variable-length arrays. This 2005-03-29 00:17:27 +00:00
parse_clause.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
parse_coerce.c Convert oidvector and int2vector into variable-length arrays. This 2005-03-29 00:17:27 +00:00
parse_expr.c Refactor transformExpr() by creating separate functions for most of the 2005-01-19 23:45:24 +00:00
parse_func.c First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
parse_node.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
parse_oper.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
parse_relation.c First phase of OUT-parameters project. We can now define and use SQL 2005-03-31 22:46:33 +00:00
parse_target.c Use a bitmapset instead of a list for duplicate-column checking in 2005-03-26 06:28:59 +00:00
parse_type.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
parser.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
scan.l Add fprintf() custom version to libpgport. 2005-03-11 19:13:43 +00:00
scansup.c Tag appropriate files for rc3 2004-12-31 22:04:05 +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