Remove unnecessary word in a comment

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

Hi,

I think we should apply the attached which does this:

--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -758,7 +758,7 @@ ExecInitRangeTable(EState *estate, List
*rangeTable, List *permInfos)
  * ExecGetRangeTableRelation
  *      Open the Relation for a range table entry, if not already done
  *
- * The Relations will be closed again in ExecEndPlan().
+ * The Relations will be closed in ExecEndPlan().
  */
 Relation
 ExecGetRangeTableRelation(EState *estate, Index rti)

--
Thanks, Amit Langote

Attachments:

0001-Remove-unnecessary-word-in-a-comment.patchapplication/octet-stream; name=0001-Remove-unnecessary-word-in-a-comment.patchDownload
From b0dc34b546f2dd4dbf41fe342ef57c32a803f5f1 Mon Sep 17 00:00:00 2001
From: Amit Langote <amitlan@postgresql.org>
Date: Wed, 23 Oct 2024 17:21:39 +0900
Subject: [PATCH] Remove unnecessary word in a comment

Discussion: https://postgr.es/m/
---
 src/backend/executor/execUtils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c
index 6712302ec8..740e8fb148 100644
--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -758,7 +758,7 @@ ExecInitRangeTable(EState *estate, List *rangeTable, List *permInfos)
  * ExecGetRangeTableRelation
  *		Open the Relation for a range table entry, if not already done
  *
- * The Relations will be closed again in ExecEndPlan().
+ * The Relations will be closed in ExecEndPlan().
  */
 Relation
 ExecGetRangeTableRelation(EState *estate, Index rti)
-- 
2.43.0

#2Amit Langote
amitlangote09@gmail.com
In reply to: Amit Langote (#1)
Re: Remove unnecessary word in a comment

On Wed, Oct 23, 2024 at 5:29 PM Amit Langote <amitlangote09@gmail.com> wrote:

I think we should apply the attached which does this:

--- a/src/backend/executor/execUtils.c
+++ b/src/backend/executor/execUtils.c
@@ -758,7 +758,7 @@ ExecInitRangeTable(EState *estate, List
*rangeTable, List *permInfos)
* ExecGetRangeTableRelation
*      Open the Relation for a range table entry, if not already done
*
- * The Relations will be closed again in ExecEndPlan().
+ * The Relations will be closed in ExecEndPlan().
*/
Relation
ExecGetRangeTableRelation(EState *estate, Index rti)

Pushed in all branches.

--
Thanks, Amit Langote