@@ -9435,7 +9435,7 @@ ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
94359435}
94369436
94379437/*
9438- * validateFkActionSetColumns
9438+ * validateFkOnDeleteSetColumns
94399439 * Verifies that columns used in ON DELETE SET NULL/DEFAULT (...)
94409440 * column lists are valid.
94419441 */
@@ -9490,10 +9490,10 @@ validateFkOnDeleteSetColumns(int numfks, const int16 *fkattnums,
94909490 * numfks is the number of columns in the foreign key
94919491 * pkattnum is the attnum array of referenced attributes.
94929492 * 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
94949494 * (...) clause
94959495 * fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9496- * NULL/DELETE clause
9496+ * NULL/DEFAULT clause
94979497 * pf/pp/ffeqoperators are OID array of operators between columns.
94989498 * old_check_ok signals that this constraint replaces an existing one that
94999499 * was already validated (thus this one doesn't need validation).
@@ -9710,10 +9710,10 @@ addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint, Relation rel,
97109710 * pkattnum is the attnum array of referenced attributes.
97119711 * fkattnum is the attnum array of referencing attributes.
97129712 * 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
97149714 * (...) clause
97159715 * fkdelsetcols is the attnum array of the columns in the ON DELETE SET
9716- * NULL/DELETE clause
9716+ * NULL/DEFAULT clause
97179717 * old_check_ok signals that this constraint replaces an existing one that
97189718 * was already validated (thus this one doesn't need validation).
97199719 * lockmode is the lockmode to acquire on partitions when recursing.
0 commit comments