postgresql/src/backend/parser
Tom Lane f4d108a257 Even after the great date/time consolidation, TypeCategory() was still
a few bricks shy of a load concerning knowing all the date/time types.
This is real bad because it interferes with func_select_candidate()'s
willingness to disambiguate functions --- func_select_candidate() will
punt unless all the available choices have the same type category.
I think this whole mechanism needs redesigned, but in the meantime
this is a needed patch.
2000-02-20 06:28:42 +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 Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
gram.y Fix SERIAL columns, which Thomas inadvertently broke parsing of. 2000-02-20 02:14:58 +00:00
keywords.c Implement reindex command 2000-02-18 09:30:20 +00:00
Makefile Removed MBFLAGS from makefiles since it's now done in include/config.h. 2000-01-19 02:59:03 +00:00
parse_agg.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
parse_clause.c Repair longstanding violation of SQL92 semantics: GROUP BY would 2000-02-19 23:45:07 +00:00
parse_coerce.c Even after the great date/time consolidation, TypeCategory() was still 2000-02-20 06:28:42 +00:00
parse_expr.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
parse_func.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
parse_node.c Add: 2000-01-26 05:58:53 +00:00
parse_oper.c Add: 2000-01-26 05:58:53 +00:00
parse_relation.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
parse_target.c Carry column aliases from the parser frontend. Enables queries like 2000-02-15 03:38:29 +00:00
parse_type.c Add: 2000-01-26 05:58:53 +00:00
parser.c Add: 2000-01-26 05:58:53 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Clean up scan.l's handling of \r vs \n --- they are reliably treated as 2000-02-19 04:17:25 +00:00
scansup.c Add: 2000-01-26 05:58:53 +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