Fix typo: multiple tuple => tuples
Started by houzj.fnst@fujitsu.comover 4 years ago2 messages
Hi,
I found a possible typo in the code comments of heap_multi_insert.
- * heap_multi_insert - insert multiple tuple into a heap
+ * heap_multi_insert - insert multiple tuples into a heap
Attaching a patch to fix it.
Best regards,
houzj
Attachments:
0001-fix-typo.patchapplication/octet-stream; name=0001-fix-typo.patchDownload
From 2d4275a89229deee5b6b5e283cc6aca0ffa260a9 Mon Sep 17 00:00:00 2001
From: houzj <houzj.fnst@fujitsu.com>
Date: Wed, 26 May 2021 15:33:11 +0800
Subject: [PATCH] fix typo
---
src/backend/access/heap/heapam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 6ac07f2..bd60129 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -2356,7 +2356,7 @@ heap_prepare_insert(Relation relation, HeapTuple tup, TransactionId xid,
}
/*
- * heap_multi_insert - insert multiple tuple into a heap
+ * heap_multi_insert - insert multiple tuples into a heap
*
* This is like heap_insert(), but inserts multiple tuples in one operation.
* That's faster than calling heap_insert() in a loop, because when multiple
--
2.7.2.windows.1
Re: Fix typo: multiple tuple => tuples
On Wed, May 26, 2021 at 07:37:15AM +0000, houzj.fnst@fujitsu.com wrote:
I found a possible typo in the code comments of heap_multi_insert.
- * heap_multi_insert - insert multiple tuple into a heap + * heap_multi_insert - insert multiple tuples into a heapAttaching a patch to fix it.
Thanks, fixed.
--
Michael