postgresql/src/backend/parser
Tom Lane 3908473c80 Make DROP TABLE rollback-able: postpone physical file delete until commit.
(WAL logging for this is not done yet, however.)  Clean up a number of really
crufty things that are no longer needed now that DROP behaves nicely.  Make
temp table mapper do the right things when drop or rename affecting a temp
table is rolled back.  Also, remove "relation modified while in use" error
check, in favor of locking tables at first reference and holding that lock
throughout the statement.
2000-11-08 22:10:03 +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 Add support for VPATH builds, that is, building somewhere else than in the 2000-10-20 21:04:27 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Make DROP TABLE rollback-able: postpone physical file delete until commit. 2000-11-08 22:10:03 +00:00
gram.y Make DROP TABLE rollback-able: postpone physical file delete until commit. 2000-11-08 22:10:03 +00:00
keywords.c Add ANALYSE spelling of ANALYZE for vacuum. 2000-11-08 21:28:06 +00:00
parse_agg.c Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
parse_clause.c Make DROP TABLE rollback-able: postpone physical file delete until commit. 2000-11-08 22:10:03 +00:00
parse_coerce.c Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 2000-10-05 19:11:39 +00:00
parse_expr.c Arrange that no database accesses are attempted during parser() --- this 2000-10-07 00:58:23 +00:00
parse_func.c Allow type resolution for UNKNOWN arguments to functions to fall back to 2000-11-06 15:42:30 +00:00
parse_node.c Change the parser to convert SQL "position" and "substring" syntax to 2000-10-31 10:22:13 +00:00
parse_oper.c Enable fallback to string type when argument(s) are of UNKNOWN type. 2000-11-07 16:01:01 +00:00
parse_relation.c Make DROP TABLE rollback-able: postpone physical file delete until commit. 2000-11-08 22:10:03 +00:00
parse_target.c Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
parse_type.c Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
parser.c Arrange that no database accesses are attempted during parser() --- this 2000-10-07 00:58:23 +00:00
scan.l Peter forgot to fix {operator} rule to match modified definition of 2000-11-02 23:20:27 +00:00
scansup.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +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