v1-0001-Fix-duplicated-word-in-lsyscache.c-comment.patch

application/octet-stream

Filename: v1-0001-Fix-duplicated-word-in-lsyscache.c-comment.patch
Type: application/octet-stream
Part: 0
Message: Fix duplicated word in lsyscache.c comment
From 9c0b32253cc537225fb0c89304c4f49162219226 Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Tue, 30 Dec 2025 07:49:05 +0800
Subject: [PATCH v1] Fix duplicated word in lsyscache.c comment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Remove a duplicated “Otherwise” in the comment describing
equality_ops_are_compatible() in lsyscache.c, improving readability
without changing meaning or behavior.

No functional change intended.

Author: Chao Li <lic@highgo.com>
---
 src/backend/utils/cache/lsyscache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index 5aa7a26d95c..9be36583835 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -768,9 +768,9 @@ get_op_index_interpretation(Oid opno)
  *		semantics.
  *
  * This is trivially true if they are the same operator.  Otherwise,
- * Otherwise, we look to see if they both belong to an opfamily that
- * guarantees compatible semantics for equality.  Either finding allows us to
- * assume that they have compatible notions of equality.  (The reason we need
+ * we look to see if they both belong to an opfamily that guarantees
+ * compatible semantics for equality.  Either finding allows us to assume
+ * that they have compatible notions of equality.  (The reason we need
  * to do these pushups is that one might be a cross-type operator; for
  * instance int24eq vs int4eq.)
  */
-- 
2.39.5 (Apple Git-154)