Comment typo in tuplesort.c

Started by Amit Langoteover 9 years ago2 messages
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
1 attachment(s)

Attached patch fixes a minor typo in tuplesort.c

s/child content/child context/g

Thanks,
Amit

Attachments:

tuplesort-comment-typo.patchtext/x-diff; name=tuplesort-comment-typo.patchDownload
diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c
index 4c502bb..6756f26 100644
--- a/src/backend/utils/sort/tuplesort.c
+++ b/src/backend/utils/sort/tuplesort.c
@@ -661,7 +661,7 @@ tuplesort_begin_common(int workMem, bool randomAccess)
 	/*
 	 * Caller tuple (e.g. IndexTuple) memory context.
 	 *
-	 * A dedicated child content used exclusively for caller passed tuples
+	 * A dedicated child context used exclusively for caller passed tuples
 	 * eases memory management.  Resetting at key points reduces
 	 * fragmentation. Note that the memtuples array of SortTuples is allocated
 	 * in the parent context, not this context, because there is no need to
#2Bruce Momjian
bruce@momjian.us
In reply to: Amit Langote (#1)
Re: Comment typo in tuplesort.c

On Tue, Aug 2, 2016 at 01:56:27PM +0900, Amit Langote wrote:

Attached patch fixes a minor typo in tuplesort.c

s/child content/child context/g

Thanks, patch applied.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers