aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-09-14 14:16:07 +0900
committerFujii Masao <fujii@postgresql.org>2020-09-14 14:16:07 +0900
commit95233011a08fcfa872f4505b295bc501b2844a08 (patch)
treed917766185c0f52c5dd86c059b78969268f90082 /src
parent83158f74d3ab8dd48aed92e84b6207562992d13d (diff)
downloadpostgresql-95233011a08fcfa872f4505b295bc501b2844a08.tar.gz
postgresql-95233011a08fcfa872f4505b295bc501b2844a08.zip
Fix typos.
Author: Naoki Nakamichi Discussion: https://postgr.es/m/b6919d145af00295a8e86ce4d034b7cd@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/ipc/procarray.c2
-rw-r--r--src/backend/utils/time/snapmgr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 4262b3cec82..802b119c490 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 22cf3ebaf47..ed7f5239a05 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;