From 78def47347219b709785c37ea8af73651bbad9d2 Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Thu, 11 Sep 2025 13:32:38 +0800
Subject: [PATCH v1] Fix parameter name in table_tuple_lock comment

The function comment incorrectly referred to the input parameter as
"relation". Updated it to "rel" to match the actual parameter name.

Author: Chao Li <lic@highgo.com>
---
 src/include/access/tableam.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h
index b2ce35e2a34..cf70f3b9d72 100644
--- a/src/include/access/tableam.h
+++ b/src/include/access/tableam.h
@@ -1512,7 +1512,7 @@ table_tuple_update(Relation rel, ItemPointer otid, TupleTableSlot *slot,
  * Lock a tuple in the specified mode.
  *
  * Input parameters:
- *	relation: relation containing tuple (caller must hold suitable lock)
+ *	rel: relation containing tuple (caller must hold suitable lock)
  *	tid: TID of tuple to lock (updated if an update chain was followed)
  *	snapshot: snapshot to use for visibility determinations
  *	cid: current command ID (used for visibility test, and stored into
-- 
2.39.5 (Apple Git-154)

