typo in snapmgr.c and procarray.c

Started by btnakamichinover 5 years ago3 messages
#1btnakamichin
btnakamichin@oss.nttdata.com
1 attachment(s)

Hi,

Attached fixes $subject.

Thanks,
Naoki Nakamichi

Attachments:

fix_typo.patchtext/x-diff; name=fix_typo.patchDownload
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 1c0cd6b248..672d2083cc 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -4106,7 +4106,7 @@ GlobalVisCheckRemovableXid(Relation rel, TransactionId xid)
  *
  * Be very careful about when to use this function. It can only safely be used
  * when there is a guarantee that xid is within MaxTransactionId / 2 xids of
- * rel. That e.g. can be guaranteed if the the caller assures a snapshot is
+ * rel. That e.g. can be guaranteed if the caller assures a snapshot is
  * held by the backend and xid is from a table (where vacuum/freezing ensures
  * the xid has to be within that range), or if xid is from the procarray and
  * prevents xid wraparound that way.
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c
index 22cf3ebaf4..ed7f5239a0 100644
--- a/src/backend/utils/time/snapmgr.c
+++ b/src/backend/utils/time/snapmgr.c
@@ -1855,7 +1855,7 @@ TransactionIdLimitedForOldSnapshots(TransactionId recentXmin,
 		if (ts == threshold_timestamp)
 		{
 			/*
-			 * Current timestamp is in same bucket as the the last limit that
+			 * Current timestamp is in same bucket as the last limit that
 			 * was applied. Reuse.
 			 */
 			xlimit = threshold_xid;
#2Fujii Masao
masao.fujii@oss.nttdata.com
In reply to: btnakamichin (#1)
Re: typo in snapmgr.c and procarray.c

On 2020/09/14 11:06, btnakamichin wrote:

Hi,

Attached fixes $subject.

Thanks for the patch! LGTM. I will commit it.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

#3Fujii Masao
masao.fujii@oss.nttdata.com
In reply to: Fujii Masao (#2)
Re: typo in snapmgr.c and procarray.c

On 2020/09/14 11:14, Fujii Masao wrote:

On 2020/09/14 11:06, btnakamichin wrote:

Hi,

Attached fixes $subject.

Thanks for the patch! LGTM. I will commit it.

Pushed. Thanks!

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION