postgresql/src/backend/parser
Thomas G. Lockhart 41f1f5b76a Implement "date/time grand unification".
Transform datetime and timespan into timestamp and interval.
 Deprecate datetime and timespan, though translate to new types in gram.y.
 Transform all datetime and timespan catalog entries into new types.
 Make "INTERVAL" reserved word allowed as a column identifier in gram.y.
 Remove dt.h, dt.c files, and retarget datetime.h, datetime.c as utility
  routines for all date/time types.
 date.{h,c} now deals with date, time types.
 timestamp.{h,c} now deals with timestamp, interval types.
 nabstime.{h,c} now deals with abstime, reltime, tinterval types.
Make NUMERIC a known native type for purposes of type coersion. Not tested.
2000-02-16 17:26:26 +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 Implement "date/time grand unification". 2000-02-16 17:26:26 +00:00
keywords.c Add "DEC" as synonym for "DECIMAL". 2000-02-15 03:26:38 +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 Fix missing lfirst() in ListTableAsAttrs(). This code 2000-02-15 23:09:08 +00:00
parse_coerce.c Implement "date/time grand unification". 2000-02-16 17:26:26 +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 Add: 2000-01-26 05:58:53 +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