postgresql/src/include/nodes
Tom Lane eabc714a91 Reimplement parsing and storage of default expressions and constraint
expressions in CREATE TABLE.  There is no longer an emasculated expression
syntax for these things; it's full a_expr for constraints, and b_expr
for defaults (unfortunately the fact that NOT NULL is a part of the
column constraint syntax causes a shift/reduce conflict if you try a_expr.
Oh well --- at least parenthesized boolean expressions work now).  Also,
stored expression for a column default is not pre-coerced to the column
type; we rely on transformInsertStatement to do that when the default is
actually used.  This means "f1 datetime default 'now'" behaves the way
people usually expect it to.
BTW, all the support code is now there to implement ALTER TABLE ADD
CONSTRAINT and ALTER TABLE ADD COLUMN with a default value.  I didn't
actually teach ALTER TABLE to call it, but it wouldn't be much work.
1999-10-03 23:55:40 +00:00
..
execnodes.h Modify nodeAgg.c so that no rows are returned for a GROUP BY 1999-09-26 21:21:15 +00:00
makefuncs.h Further planner/optimizer cleanups. Move all set_tlist_references 1999-08-22 20:15:04 +00:00
memnodes.h More cleanup 1999-07-16 17:07:40 +00:00
nodeFuncs.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
nodes.h Allow CREATE FUNCTION's WITH clause to be used for all language types, 1999-10-02 21:33:33 +00:00
params.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
parsenodes.h Reimplement parsing and storage of default expressions and constraint 1999-10-03 23:55:40 +00:00
pg_list.h Major planner/optimizer revision: get rid of PathOrder node type, 1999-08-16 02:17:58 +00:00
plannodes.h Major revision of sort-node handling: push knowledge of query 1999-08-21 03:49:17 +00:00
primnodes.h Revise implementation of SubLinks so that there is a consistent, 1999-08-25 23:21:43 +00:00
print.h Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
readfuncs.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
relation.h Major planner/optimizer revision: get rid of PathOrder node type, 1999-08-16 02:17:58 +00:00