@@ -9468,7 +9468,7 @@ ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
9468
9468
}
9469
9469
9470
9470
/*
9471
- * validateFkActionSetColumns
9471
+ * validateFkOnDeleteSetColumns
9472
9472
* Verifies that columns used in ON DELETE SET NULL/DEFAULT (...)
9473
9473
* column lists are valid.
9474
9474
*/
@@ -9523,10 +9523,10 @@ validateFkOnDeleteSetColumns(int numfks, const int16 *fkattnums,
9523
9523
* numfks is the number of columns in the foreign key
9524
9524
* pkattnum is the attnum array of referenced attributes.
9525
9525
* fkattnum is the attnum array of referencing attributes.
9526
- * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DELETE
9526
+ * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DEFAULT
9527
9527
* (...) clause
9528
9528
* fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9529
- * NULL/DELETE clause
9529
+ * NULL/DEFAULT clause
9530
9530
* pf/pp/ffeqoperators are OID array of operators between columns.
9531
9531
* old_check_ok signals that this constraint replaces an existing one that
9532
9532
* was already validated (thus this one doesn't need validation).
@@ -9742,10 +9742,10 @@ addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint, Relation rel,
9742
9742
* pkattnum is the attnum array of referenced attributes.
9743
9743
* fkattnum is the attnum array of referencing attributes.
9744
9744
* pf/pp/ffeqoperators are OID array of operators between columns.
9745
- * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DELETE
9745
+ * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DEFAULT
9746
9746
* (...) clause
9747
9747
* fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9748
- * NULL/DELETE clause
9748
+ * NULL/DEFAULT clause
9749
9749
* old_check_ok signals that this constraint replaces an existing one that
9750
9750
* was already validated (thus this one doesn't need validation).
9751
9751
* lockmode is the lockmode to acquire on partitions when recursing.
0 commit comments