postgresql/src/backend/parser
Tom Lane 89ab5c4abf Remove grotty special-case code in coerce_to_target_type() that
implemented casts to varchar and bpchar using a cast-to-text function.
This is a holdover from before we had pg_cast; it now makes more sense
to just list these casts in pg_cast.  While at it, add pg_cast entries
for the other direction (casts from varchar/bpchar) where feasible.
2004-03-15 01:13:41 +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 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
analyze.c Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS 2004-01-23 02:13:12 +00:00
gram.y Add NOWAIT option to LOCK command 2004-03-11 01:47:41 +00:00
keywords.c Add NOWAIT option to LOCK command 2004-03-11 01:47:41 +00:00
parse_agg.c Fix oversight in check_ungrouped_columns optimization that avoids 2004-01-28 07:46:44 +00:00
parse_clause.c Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS 2004-01-23 02:13:12 +00:00
parse_coerce.c Remove grotty special-case code in coerce_to_target_type() that 2004-03-15 01:13:41 +00:00
parse_expr.c Try to make 'cross-database references are not implemented' errors a 2004-02-13 01:08:20 +00:00
parse_func.c More janitorial work: remove the explicit casting of NULL literals to a 2004-01-07 18:56:30 +00:00
parse_node.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
parse_oper.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
parse_relation.c Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time 2004-01-14 23:01:55 +00:00
parse_target.c Try to make 'cross-database references are not implemented' errors a 2004-02-13 01:08:20 +00:00
parse_type.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
parser.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
scan.l Implement dollar-quoting in the backend lexer and psql. Documentation 2004-02-24 21:45:18 +00:00
scansup.c Implement a solution to the 'Turkish locale downcases I incorrectly' 2004-02-21 00:34:53 +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