Fix typos.
authorFujii Masao <fujii@postgresql.org>
Mon, 14 Sep 2020 05:16:07 +0000 (14:16 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 14 Sep 2020 05:16:07 +0000 (14:16 +0900)
Author: Naoki Nakamichi
Discussion: https://postgr.es/m/b6919d145af00295a8e86ce4d034b7cd@oss.nttdata.com

src/backend/storage/ipc/procarray.c
src/backend/utils/time/snapmgr.c

index 4262b3cec8258e85930066278931e623a4da9df4..802b119c490431d0eb965c4a020cb923c376446f 100644 (file)
@@ -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.
index 22cf3ebaf4728d0295fbed11dec3fe00e7e81d7a..ed7f5239a059fb547011cd79df0efd6496c1cc18 100644 (file)
@@ -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;