postgresql/src/backend/parser
Tom Lane 4a66f9dd54 Change scoping of table and join refnames to conform to SQL92: a JOIN
clause with an alias is a <subquery> and therefore hides table references
appearing within it, according to the spec.  This is the same as the
preliminary patch I posted to pgsql-patches yesterday, plus some really
grotty code in ruleutils.c to reverse-list a query tree with the correct
alias name depending on context.  I'd rather not have done that, but unless
we want to force another initdb for 7.1, there's no other way for now.
2001-02-14 21:35:07 +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 Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
gram.y plpgsql's private copy of xlateSqlType was out of sync. Again. This 2001-02-09 03:26:28 +00:00
keywords.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
Makefile Only look for bison as YACC; other yaccs need to be selected explicitly. 2001-02-10 22:31:42 +00:00
parse_agg.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
parse_clause.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_coerce.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
parse_expr.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_func.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_node.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_oper.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
parse_relation.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_target.c Change scoping of table and join refnames to conform to SQL92: a JOIN 2001-02-14 21:35:07 +00:00
parse_type.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
parser.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Use elog() instead of exit() for fatal scanner errors. 2001-02-03 20:13:05 +00:00
scansup.c Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +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