postgresql/src/backend/parser
Peter Eisentraut c828ec8820 Make pg_dump output more portable and more pleasing to look at.
The -n and -N options were removed.  Quoting is now smart enough to
supply quotes if and only if necessary.

Numerical types are now printed without quotes, except in cases of
special values such as NaN.

Boolean values printed as true and false.

Most string literals now do not escape whitespace characters (newlines,
etc.) for portability.

SET SESSION AUTHORIZATION argument is a string literal, to follow SQL.

Made commands output by pg_dump use consistent spacing and indentation.
2002-08-18 09:36:26 +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 ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
gram.y Tom Lane wrote: 2002-08-15 16:36:08 +00:00
keywords.c Make pg_dump output more portable and more pleasing to look at. 2002-08-18 09:36:26 +00:00
Makefile Scanner performance improvements 2002-04-20 21:56:15 +00:00
parse_agg.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
parse_clause.c Attached are two patches to implement and document anonymous composite 2002-08-04 19:48:11 +00:00
parse_coerce.c Manually apply part of oid patch that didn't apply cleanly. 2002-07-20 05:29:01 +00:00
parse_expr.c Cause schema-qualified FROM items and schema-qualified variable references 2002-08-08 01:44:31 +00:00
parse_func.c Cause schema-qualified FROM items and schema-qualified variable references 2002-08-08 01:44:31 +00:00
parse_node.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
parse_oper.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
parse_relation.c Cause view/rule display to work as expected after rename of an underlying 2002-08-08 17:00:19 +00:00
parse_target.c Cause schema-qualified FROM items and schema-qualified variable references 2002-08-08 01:44:31 +00:00
parse_type.c parseTypeString wasn't quite paranoid enough. 2002-08-08 01:22:35 +00:00
parser.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Code review for 'at character n' patch --- point at proper end of 2002-08-18 03:35:08 +00:00
scansup.c Update copyright to 2002. 2002-06-20 20:29:54 +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