postgresql/src/backend/parser
Tom Lane 8609d4abf2 Fix portability problems recently exposed by regression tests on Alphas.
1. Distinguish cases where a Datum representing a tuple datatype is an OID
from cases where it is a pointer to TupleTableSlot, and make sure we use
the right typlen in each case.
2. Make fetchatt() and related code support 8-byte by-value datatypes on
machines where Datum is 8 bytes.  Centralize knowledge of the available
by-value datatype sizes in two macros in tupmacs.h, so that this will be
easier if we ever have to do it again.
2000-12-27 23:59:14 +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 Repair mishandling of PRIMARY KEY declaration that references an 2000-12-18 01:37:56 +00:00
gram.y Clean up CREATE TYPE/OPERATOR/AGGREGATE productions, so that parser 2000-12-22 07:07:58 +00:00
keywords.c Remove current->old mapping. 2000-12-15 23:36:20 +00:00
Makefile Add support for VPATH builds, that is, building somewhere else than in the 2000-10-20 21:04:27 +00:00
parse_agg.c Change SearchSysCache coding conventions so that a reference count is 2000-11-16 22:30:52 +00:00
parse_clause.c Change SearchSysCache coding conventions so that a reference count is 2000-11-16 22:30:52 +00:00
parse_coerce.c Tweak select_common_type() to deal with possibility of multiple preferred 2000-12-17 04:32:29 +00:00
parse_expr.c Change SearchSysCache coding conventions so that a reference count is 2000-11-16 22:30:52 +00:00
parse_func.c Fix portability problems recently exposed by regression tests on Alphas. 2000-12-27 23:59:14 +00:00
parse_node.c Ensure that all uses of <ctype.h> functions are applied to unsigned-char 2000-12-03 20:45:40 +00:00
parse_oper.c Make algorithm for resolving UNKNOWN function/operator inputs be 2000-12-15 19:22:03 +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 Change SearchSysCache coding conventions so that a reference count is 2000-11-16 22:30:52 +00:00
parser.c Arrange that no database accesses are attempted during parser() --- this 2000-10-07 00:58:23 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Ensure that all uses of <ctype.h> functions are applied to unsigned-char 2000-12-03 20:45:40 +00:00
scansup.c Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +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