diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-16 05:53:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-16 05:53:34 +0000 |
commit | 30ec31604d56388b7b05ecf48cd8fa56c18f181b (patch) | |
tree | bc8ff344e3814846bc71b0693144c2d9e73e0060 /src/backend/commands/tablecmds.c | |
parent | 1e07ab78cc99520c4c300a3230689521b78f4c16 (diff) | |
download | postgresql-30ec31604d56388b7b05ecf48cd8fa56c18f181b.tar.gz postgresql-30ec31604d56388b7b05ecf48cd8fa56c18f181b.zip |
Add code to extract dependencies from an expression tree, and use it
to build dependencies for rules, constraint expressions, and default
expressions. Repair some problems in the original design of
recursiveDeletion() exposed by more complex dependency sets. Fix
regression tests that were deleting things in illegal sequences.
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 3722a071082..099c6351b7f 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.21 2002/07/15 16:33:31 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.22 2002/07/16 05:53:33 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2708,6 +2708,7 @@ createForeignKeyConstraint(Relation rel, Relation pkrel, fkconstraint->fk_upd_action, fkconstraint->fk_del_action, fkconstraint->fk_matchtype, + NULL, /* no check constraint */ NULL, NULL); } |