public inbox for [email protected]  
help / color / mirror / Atom feed
From: Thiago Caserta <[email protected]>
To: [email protected] <[email protected]>
Subject: [PATCH v1] Fix typos: "its a" -> "it's a" in code comments
Date: Tue, 24 Mar 2026 19:58:40 +0000
Message-ID: <CPYP284MB1221CF6BBB19A2D63145D84DC948A@CPYP284MB1221.BRAP284.PROD.OUTLOOK.COM> (raw)

Hi hackers,

Attached is a small patch that fixes two instances where the possessive "its" was incorrectly used instead of the contraction "it's" (it is) in code comments.

Affected files:
  - src/backend/executor/execTuples.c
  - contrib/btree_gist/btree_utils_var.h

 The patch applies cleanly against current HEAD (dd5716f3c74) and passes git diff --check with no whitespace issues.

Best regards,
Thiago Caserta     <https://aka.ms/GetOutlookForMac;


Attachments:

  [application/octet-stream] v1-0001-Fix-typos-its-a-it-s-a-in-code-comments.patch (1.5K, 3-v1-0001-Fix-typos-its-a-it-s-a-in-code-comments.patch)
  download | inline diff:
From fc9fae09707b25d2fe85b2e02cae0be2d0147b68 Mon Sep 17 00:00:00 2001
From: Thiago Caserta <[email protected]>
Date: Tue, 24 Mar 2026 16:32:38 -0300
Subject: [PATCH v1] Fix typos: "its a" -> "it's a" in code comments

Fix two instances where the possessive "its" was incorrectly used
instead of the contraction "it's" (it is) in code comments.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 contrib/btree_gist/btree_utils_var.h | 2 +-
 src/backend/executor/execTuples.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/btree_gist/btree_utils_var.h b/contrib/btree_gist/btree_utils_var.h
index 6cb3aadf3c3..f28a5d98ae3 100644
--- a/contrib/btree_gist/btree_utils_var.h
+++ b/contrib/btree_gist/btree_utils_var.h
@@ -42,7 +42,7 @@ typedef struct
 } gbtree_vinfo;
 
 /*
- * Free ptr1 in case its a copy of ptr2.
+ * Free ptr1 in case it's a copy of ptr2.
  *
  * This is adapted from varlena's PG_FREE_IF_COPY, though doesn't require
  * fcinfo access.
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c
index 9d900147a55..1a477f40bd3 100644
--- a/src/backend/executor/execTuples.c
+++ b/src/backend/executor/execTuples.c
@@ -512,7 +512,7 @@ tts_minimal_init(TupleTableSlot *slot)
 
 	/*
 	 * Initialize the heap tuple pointer to access attributes of the minimal
-	 * tuple contained in the slot as if its a heap tuple.
+	 * tuple contained in the slot as if it's a heap tuple.
 	 */
 	mslot->tuple = &mslot->minhdr;
 }
-- 
2.53.0



view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [PATCH v1] Fix typos: "its a" -> "it's a" in code comments
  In-Reply-To: <CPYP284MB1221CF6BBB19A2D63145D84DC948A@CPYP284MB1221.BRAP284.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox