mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Make FKs valid at creation when added as column constraints.
Bug report from Alvaro Herrera
This commit is contained in:
@ -2341,6 +2341,7 @@ _copyConstraint(Constraint *from)
|
||||
COPY_SCALAR_FIELD(fk_upd_action);
|
||||
COPY_SCALAR_FIELD(fk_del_action);
|
||||
COPY_SCALAR_FIELD(skip_validation);
|
||||
COPY_SCALAR_FIELD(initially_valid);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user