public inbox for [email protected]
help / color / mirror / Atom feed[PATCH v1] Fix typos: "its a" -> "it's a" in code comments
2+ messages / 2 participants
[nested] [flat]
* [PATCH v1] Fix typos: "its a" -> "it's a" in code comments
@ 2026-03-24 19:58 Thiago Caserta <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Thiago Caserta @ 2026-03-24 19:58 UTC (permalink / raw)
To: pgsql-hackers
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [PATCH v1] Fix typos: "its a" -> "it's a" in code comments
@ 2026-03-26 22:53 Michael Paquier <[email protected]>
parent: Thiago Caserta <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2026-03-26 22:53 UTC (permalink / raw)
To: Thiago Caserta <[email protected]>; +Cc: pgsql-hackers
On Tue, Mar 24, 2026 at 07:58:40PM +0000, Thiago Caserta wrote:
> 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.
Thanks. Grabbed for later.
--
Michael
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-03-26 22:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-03-24 19:58 [PATCH v1] Fix typos: "its a" -> "it's a" in code comments Thiago Caserta <[email protected]>
2026-03-26 22:53 ` Michael Paquier <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox