Missing word in comment

Started by Amit Langoteabout 1 year ago1 messages
#1Amit Langote
amitlangote09@gmail.com
1 attachment(s)

Hi,

Will push the attached shortly, which does:

  * An SMgrRelation may be "pinned", to prevent it from being destroyed while
- * it's in use.  We use this to prevent pointers relcache to smgr from being
+ * it's in use.  We use this to prevent pointers in relcache to smgr from being
  * invalidated.  SMgrRelations that are not pinned are deleted at end of

--
Thanks, Amit Langote

Attachments:

v1-0001-Add-missing-word-in-comment.patchapplication/octet-stream; name=v1-0001-Add-missing-word-in-comment.patchDownload
From c452d8b6fc2b3167db2a093b94ee7bf5665653e8 Mon Sep 17 00:00:00 2001
From: Amit Langote <amitlan@postgresql.org>
Date: Tue, 12 Nov 2024 15:49:01 +0900
Subject: [PATCH v1] Add missing word in comment

Discussion: https://postgr.es/m/
---
 src/include/storage/smgr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h
index 899d0d681c..5ab992f5bd 100644
--- a/src/include/storage/smgr.h
+++ b/src/include/storage/smgr.h
@@ -27,7 +27,7 @@
  * descriptors.)
  *
  * An SMgrRelation may be "pinned", to prevent it from being destroyed while
- * it's in use.  We use this to prevent pointers relcache to smgr from being
+ * it's in use.  We use this to prevent pointers in relcache to smgr from being
  * invalidated.  SMgrRelations that are not pinned are deleted at end of
  * transaction.
  */
-- 
2.43.0