postgresql/src/backend/parser
Tom Lane 0a02d47a11 Enforces NOT NULL constraints to be applied against new PRIMARY KEY
columns in DefineIndex.  So, ALTER TABLE ... PRIMARY KEY will now
automatically add the NOT NULL constraint.  It appeared the alter_table
regression test wanted this to occur, as after the change the regression
test better matched in inline 'fails'/'succeeds' comments.

Rod Taylor
2003-01-02 19:29:22 +00:00
..
.cvsignore
analyze.c Enforces NOT NULL constraints to be applied against new PRIMARY KEY 2003-01-02 19:29:22 +00:00
gram.y Cause FETCH 1 to return the current cursor row, or zero if at 2002-12-30 15:31:51 +00:00
keywords.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
Makefile
parse_agg.c
parse_clause.c Fix ALTER TABLE ADD COLUMN to disallow the same column types that are 2002-12-16 18:39:22 +00:00
parse_coerce.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_expr.c Deliver better error message when a relation name is used in an expression. 2002-12-27 20:06:19 +00:00
parse_func.c
parse_node.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_oper.c
parse_relation.c
parse_target.c Preliminary code review for domain CHECK constraints patch: add documentation, 2002-12-12 20:35:16 +00:00
parse_type.c
parser.c
README
scan.l
scansup.c

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