Fix typo in comment
Started by Zhiyuan Su4 days ago2 messages
Hi Hackers,
I found a small typo in comments in src/backend/utils/cache/lsyscache.c
and am attaching a patch to fix it.
The word "comparision" is corrected to "comparison".
Regards,
Zhiyuan Su
Attachments:
v1-0001-Fix-typo-in-comment.patchapplication/octet-stream; name=v1-0001-Fix-typo-in-comment.patch; x-cm-securityLevel=0Download
From 0609bc16d6f21a4df399584f74cbc71a7d1010cc Mon Sep 17 00:00:00 2001
From: Zhiyuan Su <suzhiyuan_pg@126.com>
Date: Thu, 8 Jan 2026 02:37:10 +0000
Subject: [PATCH v1] Fix typo in comment
Correct misspelling of "comparision" to "comparison" in a source code comment.
Author: Zhiyuan Su <suzhiyuan_pg@126.com>
---
src/backend/utils/cache/lsyscache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index 04cf19a831a..b924a2d900b 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -685,7 +685,7 @@ get_op_index_interpretation(Oid opno)
if (!get_opmethod_canorder(op_form->amopmethod))
continue;
- /* Get the operator's comparision type */
+ /* Get the operator's comparison type */
cmptype = IndexAmTranslateStrategy(op_form->amopstrategy,
op_form->amopmethod,
op_form->amopfamily,
@@ -729,7 +729,7 @@ get_op_index_interpretation(Oid opno)
if (!amroutine->amcanorder)
continue;
- /* Get the operator's comparision type */
+ /* Get the operator's comparison type */
cmptype = IndexAmTranslateStrategy(op_form->amopstrategy,
op_form->amopmethod,
op_form->amopfamily,
--
2.34.1