postgresql/src/backend/parser
Neil Conway a55898131e Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE.
Sequences and views could previously be renamed using ALTER TABLE, but
this was a repeated source of confusion for users. Update the docs,
and psql tab completion. Patch from David Fetter; various minor fixes
by myself.
2007-07-03 01:30:37 +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 Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
README Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
analyze.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
gram.y Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
keywords.c Arrange for quote_identifier() and pg_dump to not quote keywords that are 2007-06-18 21:40:58 +00:00
parse_agg.c Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
parse_clause.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
parse_coerce.c Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
parse_expr.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
parse_func.c Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
parse_node.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
parse_oper.c Support enum data types. Along the way, use macros for the values of 2007-04-02 03:49:42 +00:00
parse_relation.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
parse_target.c Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 2007-02-03 14:06:56 +00:00
parse_type.c Tweak the API for per-datatype typmodin functions so that they are passed 2007-06-15 20:56:52 +00:00
parse_utilcmd.c Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
parser.c Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 2007-01-09 02:14:16 +00:00
scan.l Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
scansup.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00

README

This directory does more than tokenize and parse SQL queries.  It also
creates Query structures for the various complex queries that are passed
to the optimizer and then executor.

parser.c	things start here
scan.l		break query into tokens
scansup.c	handle escapes in input strings
keywords.c	turn keywords into specific tokens
gram.y		parse the tokens and fill query-type-specific structures
analyze.c	top level of parse analysis for optimizable queries
parse_clause.c	handle clauses like WHERE, ORDER BY, GROUP BY, ...
parse_coerce.c	handle coercing expressions to different types
parse_expr.c	handle expressions like col, col + 3, x = 3 or x = 4
parse_oper.c	handle operators 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
parse_utilcmd.c	parse analysis for utility commands (done at execution time)