aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-09 16:10:44 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-18 16:17:42 +0300
commit65976cd86a9bdeec5a5277545e5efa33724102c8 (patch)
tree8072433fd4872c4cf724fb45e2e8a0e5ac48fae3 /src/backend/utils
parent07f303ab6076c10e36ebcf46155e6ca66fcfe56e (diff)
downloadpostgresql-65976cd86a9bdeec5a5277545e5efa33724102c8.tar.gz
postgresql-65976cd86a9bdeec5a5277545e5efa33724102c8.zip
Fix misc typos, mostly in comments.
A collection of typos I happened to spot while reading code, as well as grepping for common mistakes. Backpatch to all supported versions, as applicable, to avoid conflicts when backporting other commits in the future.
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/time/snapmgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c
index 4b45d3cccd2..edf59efc29d 100644
--- a/src/backend/utils/time/snapmgr.c
+++ b/src/backend/utils/time/snapmgr.c
@@ -1087,8 +1087,8 @@ AtEOXact_Snapshot(bool isCommit, bool resetXmin)
* it's too late to abort the transaction, and (2) leaving a leaked
* file around has little real consequence anyway.
*
- * We also also need to remove the snapshots from RegisteredSnapshots
- * to prevent a warning below.
+ * We also need to remove the snapshots from RegisteredSnapshots to
+ * prevent a warning below.
*
* As with the FirstXactSnapshot, we don't need to free resources of
* the snapshot iself as it will go away with the memory context.