mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Make FKs valid at creation when added as column constraints.
Bug report from Alvaro Herrera
This commit is contained in:
@@ -1536,6 +1536,7 @@ typedef struct Constraint
|
||||
char fk_upd_action; /* ON UPDATE action */
|
||||
char fk_del_action; /* ON DELETE action */
|
||||
bool skip_validation; /* skip validation of existing rows? */
|
||||
bool initially_valid; /* start the new constraint as valid */
|
||||
} Constraint;
|
||||
|
||||
/* ----------------------
|
||||
|
||||
Reference in New Issue
Block a user