@@ -9435,7 +9435,7 @@ ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
9435
9435
}
9436
9436
9437
9437
/*
9438
- * validateFkActionSetColumns
9438
+ * validateFkOnDeleteSetColumns
9439
9439
* Verifies that columns used in ON DELETE SET NULL/DEFAULT (...)
9440
9440
* column lists are valid.
9441
9441
*/
@@ -9490,10 +9490,10 @@ validateFkOnDeleteSetColumns(int numfks, const int16 *fkattnums,
9490
9490
* numfks is the number of columns in the foreign key
9491
9491
* pkattnum is the attnum array of referenced attributes.
9492
9492
* fkattnum is the attnum array of referencing attributes.
9493
- * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DELETE
9493
+ * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DEFAULT
9494
9494
* (...) clause
9495
9495
* fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9496
- * NULL/DELETE clause
9496
+ * NULL/DEFAULT clause
9497
9497
* pf/pp/ffeqoperators are OID array of operators between columns.
9498
9498
* old_check_ok signals that this constraint replaces an existing one that
9499
9499
* was already validated (thus this one doesn't need validation).
@@ -9710,10 +9710,10 @@ addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint, Relation rel,
9710
9710
* pkattnum is the attnum array of referenced attributes.
9711
9711
* fkattnum is the attnum array of referencing attributes.
9712
9712
* pf/pp/ffeqoperators are OID array of operators between columns.
9713
- * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DELETE
9713
+ * numfkdelsetcols is the number of columns in the ON DELETE SET NULL/DEFAULT
9714
9714
* (...) clause
9715
9715
* fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9716
- * NULL/DELETE clause
9716
+ * NULL/DEFAULT clause
9717
9717
* old_check_ok signals that this constraint replaces an existing one that
9718
9718
* was already validated (thus this one doesn't need validation).
9719
9719
* lockmode is the lockmode to acquire on partitions when recursing.
0 commit comments