aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorGreg Stark <stark@mit.edu>2016-06-03 15:13:36 +0100
committerGreg Stark <stark@mit.edu>2016-06-03 16:08:45 +0100
commite1623c3959aac707732d7a6ad09adfb5751763b3 (patch)
tree3f73cc1c228576ae41f7f2444abb3dc65250c740 /src/backend/replication
parentee4af347ba89b8492d1f86b6456865e1de1d030f (diff)
downloadpostgresql-e1623c3959aac707732d7a6ad09adfb5751763b3.tar.gz
postgresql-e1623c3959aac707732d7a6ad09adfb5751763b3.zip
Fix various common mispellings.
Mostly these are just comments but there are a few in documentation and a handful in code and tests. Hopefully this doesn't cause too much unnecessary pain for backpatching. I relented from some of the most common like "thru" for that reason. The rest don't seem numerous enough to cause problems. Thanks to Kevin Lyda's tool https://pypi.python.org/pypi/misspellings
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/logical/reorderbuffer.c2
-rw-r--r--src/backend/replication/walsender.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c
index 57821c34027..52b0d41fa69 100644
--- a/src/backend/replication/logical/reorderbuffer.c
+++ b/src/backend/replication/logical/reorderbuffer.c
@@ -563,7 +563,7 @@ ReorderBufferTXNByXid(ReorderBuffer *rb, TransactionId xid, bool create,
}
/*
- * cached as non-existant, and asked not to create? Then nothing else
+ * cached as non-existent, and asked not to create? Then nothing else
* to do.
*/
if (!create)
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 926a247b66c..5cd4d51865d 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -747,7 +747,7 @@ StartReplication(StartReplicationCmd *cmd)
*
* Inside the walsender we can do better than logical_read_local_xlog_page,
* which has to do a plain sleep/busy loop, because the walsender's latch gets
- * set everytime WAL is flushed.
+ * set every time WAL is flushed.
*/
static int
logical_read_xlog_page(XLogReaderState *state, XLogRecPtr targetPagePtr, int reqLen,