postgresql/src/backend/parser
Peter Eisentraut bdb41ad0e7 Made abstime/reltime use int4 instead of time_t (TODO item)
Made type equivalency apply to aggregates (TODO item)
Fixed parsing bug in psql
Reverted some stupid options changes I made to pg_dump
2000-01-24 19:34:19 +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 Removed MBFLAGS from makefiles since it's now done in include/config.h. 2000-01-19 02:59:03 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Forgot to handle column length defaults in ALTER TABLE ADD COLUMN. 2000-01-22 01:22:48 +00:00
gram.y Fix error messages for the lack of multi-byte support. 2000-01-23 08:16:37 +00:00
keywords.c create/alter user extension 1999-11-30 03:57:29 +00:00
parse_agg.c aggregate(DISTINCT ...) works, per SQL spec. 1999-12-13 01:27:21 +00:00
parse_clause.c Pass atttypmod to CoerceTargetExpr, so that it can pass it on to 2000-01-17 02:04:16 +00:00
parse_coerce.c Create a new parsetree node type, TypeCast, so that transformation of 2000-01-17 00:14:49 +00:00
parse_expr.c Pass atttypmod to CoerceTargetExpr, so that it can pass it on to 2000-01-17 02:04:16 +00:00
parse_func.c Made abstime/reltime use int4 instead of time_t (TODO item) 2000-01-24 19:34:19 +00:00
parse_node.c Pass atttypmod to CoerceTargetExpr, so that it can pass it on to 2000-01-17 02:04:16 +00:00
parse_oper.c any_ordering_op()'s argument should be declared Oid not int. 1999-12-12 20:51:29 +00:00
parse_relation.c New NameStr macro to convert Name to Str. No need for var.data anymore. 1999-11-07 23:08:36 +00:00
parse_target.c Pass atttypmod to CoerceTargetExpr, so that it can pass it on to 2000-01-17 02:04:16 +00:00
parse_type.c Fixed all elog related warnings, as well as a few others. 2000-01-15 02:59:43 +00:00
parser.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
scan.l updated install file 2000-01-23 01:27:39 +00:00
scansup.c Eliminate token length assumption in scanstr(). 1999-09-11 22:26:47 +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