postgresql/src/backend/parser
Tom Lane 81b5c8a136 A visit from the message-style police ... 2003-07-28 00:09:16 +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 Adopt latest bison's spelling of 'syntax error' rather than 'parse error' 2003-05-29 20:40:36 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
gram.y Another round of error message editing, covering backend/parser/. 2003-07-19 20:20:53 +00:00
keywords.c Includes: 2003-06-25 03:40:19 +00:00
parse_agg.c Another round of error message editing, covering backend/parser/. 2003-07-19 20:20:53 +00:00
parse_clause.c Another round of error message editing, covering backend/parser/. 2003-07-19 20:20:53 +00:00
parse_coerce.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
parse_expr.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
parse_func.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
parse_node.c Another round of error message editing, covering backend/parser/. 2003-07-19 20:20:53 +00:00
parse_oper.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
parse_relation.c Another round of error message editing, covering backend/commands/. 2003-07-20 21:56:35 +00:00
parse_target.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
parse_type.c Another round of error message editing, covering backend/commands/. 2003-07-20 21:56:35 +00:00
parser.c Not sure why parser() was still doing clearerr(stdin) ... but it's 2003-05-05 01:59:02 +00:00
scan.l First bits of work on error message editing. 2003-07-18 23:20:33 +00:00
scansup.c Be careful to include postgres.h *before* any system headers, to ensure 2002-09-05 00:43:07 +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