Fix misc typos in comments.
authorHeikki Linnakangas
Fri, 23 May 2014 12:16:09 +0000 (08:16 -0400)
committerHeikki Linnakangas
Fri, 23 May 2014 12:16:21 +0000 (08:16 -0400)
src/backend/replication/logical/logical.c
src/backend/storage/ipc/procarray.c

index 438a3fb152d8191ee9c8204a7797de0fbf88f440..b82580fbcdf7a5d3dbdbb95ad9cc4bf6e73fa691 100644 (file)
@@ -21,7 +21,7 @@
  *   one to prepare a data write, and a final one for actually writing since
  *   their implementation depends on the type of consumer.  Check
  *   logicalfuncs.c for an example implementation of a fairly simple consumer
- *   and a implementation of a WAL reading callback that's suitable for
+ *   and an implementation of a WAL reading callback that's suitable for
  *   simple consumers.
  *-------------------------------------------------------------------------
  */
@@ -291,7 +291,7 @@ CreateInitDecodingContext(char *plugin,
     * decoding from, to avoid starting from a running xacts record referring
     * to xids whose rows have been vacuumed or pruned
     * already. GetOldestSafeDecodingTransactionId() returns such a value, but
-    * without further interlock it's return value might immediately be out of
+    * without further interlock its return value might immediately be out of
     * date.
     *
     * So we have to acquire the ProcArrayLock to prevent computation of new
@@ -772,7 +772,7 @@ LogicalIncreaseXminForSlot(XLogRecPtr current_lsn, TransactionId xmin)
  * Mark the minimal LSN (restart_lsn) we need to read to replay all
  * transactions that have not yet committed at current_lsn.
  *
- * Just like IncreaseRestartDecodingForSlot this nly takes effect when the
+ * Just like IncreaseRestartDecodingForSlot this only takes effect when the
  * client has confirmed to have received current_lsn.
  */
 void
index cdd92d99a22b8ca82e488dd580f4678ad9bfb3f7..ea82882aa6dea9191b1eea9b75f8285f849e4be1 100644 (file)
@@ -1928,7 +1928,7 @@ GetOldestActiveTransactionId(void)
  * much more conservative than what really has been affected by vacuum, but we
  * currently don't have better data available.
  *
- * This is useful to initalize the cutoff xid after which a new changeset
+ * This is useful to initialize the cutoff xid after which a new changeset
  * extraction replication slot can start decoding changes.
  *
  * Must be called with ProcArrayLock held either shared or exclusively,