@@ -783,9 +783,9 @@ raw_heap_insert(RewriteState state, HeapTuple tup)
783783 * deal with WAL logging at all - an fsync() at the end of a rewrite would be
784784 * sufficient for crash safety. Any mapping that hasn't been safely flushed to
785785 * disk has to be by an aborted (explicitly or via a crash) transaction and is
786- * ignored by virtue of the xid init's name being subject to a
786+ * ignored by virtue of the xid inits name being subject to a
787787 * TransactionDidCommit() check. But we want to support having standbys via
788- * physical replication, both for availability and toto do logical decoding
788+ * physical replication, both for availability and to do logical decoding
789789 * there.
790790 * ------------------------------------------------------------------------
791791 */
@@ -1046,7 +1046,7 @@ logical_rewrite_log_mapping(RewriteState state, TransactionId xid,
10461046
10471047/*
10481048 * Perform logical remapping for a tuple that's mapped from old_tid to
1049- * new_tuple->t_self by rewrite_heap_tuple()iff necessary for the tuple.
1049+ * new_tuple->t_self by rewrite_heap_tuple()if necessary for the tuple.
10501050 */
10511051static void
10521052logical_rewrite_heap_tuple (RewriteState state ,ItemPointerData old_tid ,