aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/storage/ipc/procarray.c2
-rw-r--r--src/include/access/xlogreader.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 8da7b1d8a7b..05661e379e5 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -1600,7 +1600,7 @@ TransactionIdIsActive(TransactionId xid)
* See the definition of ComputedXidHorizonsResult for the various computed
* horizons.
*
- * For VACUUM separate horizons (used to to decide which deleted tuples must
+ * For VACUUM separate horizons (used to decide which deleted tuples must
* be preserved), for shared and non-shared tables are computed. For shared
* relations backends in all databases must be considered, but for non-shared
* relations that's not required, since only backends in my own database could
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h
index b9768822291..0b6d00dd7df 100644
--- a/src/include/access/xlogreader.h
+++ b/src/include/access/xlogreader.h
@@ -17,7 +17,7 @@
* XLogBeginRead() or XLogFindNextRecord(), and call XLogReadRecord()
* until it returns NULL.
*
- * Callers supply a page_read callback if they want to to call
+ * Callers supply a page_read callback if they want to call
* XLogReadRecord or XLogFindNextRecord; it can be passed in as NULL
* otherwise. The WALRead function can be used as a helper to write
* page_read callbacks, but it is not mandatory; callers that use it,