summaryrefslogtreecommitdiff
path: root/src/backend/utils/time/tqual.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-03-17 20:47:28 +0900
committerFujii Masao <fujii@postgresql.org>2014-03-17 20:47:28 +0900
commit2bccced110025f48bf426a8a9d7f627ef3663fcd (patch)
tree9e4b89fd4dafd9d67768beb792dbf7435f308166 /src/backend/utils/time/tqual.c
parent5c6d9fc4b2b8b6688a482a4b4116d7642e36b9d9 (diff)
Fix typos in comments.
Thom Brown
Diffstat (limited to 'src/backend/utils/time/tqual.c')
-rw-r--r--src/backend/utils/time/tqual.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c
index c4732ed3110..89f5ff85e9d 100644
--- a/src/backend/utils/time/tqual.c
+++ b/src/backend/utils/time/tqual.c
@@ -1549,7 +1549,7 @@ HeapTupleHeaderIsOnlyLocked(HeapTupleHeader tuple)
}
/*
- * check whether the transaciont id 'xid' in in the pre-sorted array 'xip'.
+ * check whether the transaciont id 'xid' is in the pre-sorted array 'xip'.
*/
static bool
TransactionIdInArray(TransactionId xid, TransactionId *xip, Size num)
@@ -1589,7 +1589,7 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
Assert(!TransactionIdDidCommit(xmin));
return false;
}
- /* check if its one of our txids, toplevel is also in there */
+ /* check if it's one of our txids, toplevel is also in there */
else if (TransactionIdInArray(xmin, snapshot->subxip, snapshot->subxcnt))
{
bool resolved;
@@ -1598,7 +1598,7 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
/*
* another transaction might have (tried to) delete this tuple or
- * cmin/cmax was stored in a combocid. S we need to to lookup the
+ * cmin/cmax was stored in a combocid. So we need to lookup the
* actual values externally.
*/
resolved = ResolveCminCmaxDuringDecoding(HistoricSnapshotGetTupleCids(), snapshot,
@@ -1662,7 +1662,7 @@ HeapTupleSatisfiesHistoricMVCC(HeapTuple htup, Snapshot snapshot,
xmax = HeapTupleGetUpdateXid(tuple);
}
- /* check if its one of our txids, toplevel is also in there */
+ /* check if it's one of our txids, toplevel is also in there */
if (TransactionIdInArray(xmax, snapshot->subxip, snapshot->subxcnt))
{
bool resolved;