postgresql/src/backend/parser
Tom Lane e3b1b6c0cd Aggregates can be polymorphic, using polymorphic implementation functions.
It also works to create a non-polymorphic aggregate from polymorphic
functions, should you want to do that.  Regression test added, docs still
lacking.  By Joe Conway, with some kibitzing from Tom Lane.
2003-07-01 19:10:53 +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 UPDATE ... SET <col> = DEFAULT 2003-06-25 04:19:24 +00:00
gram.y Change EXECUTE INTO to CREATE TABLE AS EXECUTE. 2003-07-01 00:04:31 +00:00
keywords.c Includes: 2003-06-25 03:40:19 +00:00
Makefile Adopt latest bison's spelling of 'syntax error' rather than 'parse error' 2003-05-29 20:40:36 +00:00
parse_agg.c Aggregates can be polymorphic, using polymorphic implementation functions. 2003-07-01 19:10:53 +00:00
parse_clause.c Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals, 2003-06-16 02:03:38 +00:00
parse_coerce.c Aggregates can be polymorphic, using polymorphic implementation functions. 2003-07-01 19:10:53 +00:00
parse_expr.c Support expressions of the form 'scalar op ANY (array)' and 2003-06-29 00:33:44 +00:00
parse_func.c Back out array mega-patch. 2003-06-25 21:30:34 +00:00
parse_node.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_oper.c Support expressions of the form 'scalar op ANY (array)' and 2003-06-29 00:33:44 +00:00
parse_relation.c Replace cryptic 'Unknown kind of return type' messages with something 2003-06-15 17:59:10 +00:00
parse_target.c Fix compile warnings. 2003-06-27 17:07:03 +00:00
parse_type.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parser.c Not sure why parser() was still doing clearerr(stdin) ... but it's 2003-05-05 01:59:02 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Disallow dollar sign in operator names, instead allow it as a non-first 2003-06-19 23:22:40 +00:00
scansup.c Be careful to include postgres.h *before* any system headers, to ensure 2002-09-05 00:43:07 +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