From fd78e3751f964388fec04bf6204ea5bf90664a80 Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Tue, 20 Jan 2026 10:26:27 +0800
Subject: [PATCH v2 2/2] tablecmds: complete parameter documentation for
 addFkConstraint
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The header comment for addFkConstraint() documents all of
the function’s parameters except is_internal. Add a brief description
of is_internal so that the comment fully reflects the function
signature.

Author: Chao Li <lic@highgo.com>
---
 src/backend/commands/tablecmds.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 5194ffc84bb..767488acd0c 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -10786,6 +10786,7 @@ validateFkOnDeleteSetColumns(int numfks, const int16 *fkattnums,
  *      (...) clause
  * fkdelsetcols: the attnum array of the columns in the ON DELETE SET
  *      NULL/DEFAULT clause
+ * is_internal: true if this is an internally generated constraint
  * with_period: true if this is a temporal FK
  */
 static ObjectAddress
-- 
2.39.5 (Apple Git-154)

