From 1f74a9088881d5e7e3fc20508bc6fa47beeb6290 Mon Sep 17 00:00:00 2001
From: Simon Riggs <simon@2ndQuadrant.com>
Date: Tue, 7 Jun 2016 17:34:33 +0100
Subject: [PATCH] Correct phrasing in dsm.c comments

---
 src/backend/storage/ipc/dsm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/storage/ipc/dsm.c b/src/backend/storage/ipc/dsm.c
index 573c54d86d4..cd13a6284c1 100644
--- a/src/backend/storage/ipc/dsm.c
+++ b/src/backend/storage/ipc/dsm.c
@@ -245,7 +245,7 @@ dsm_cleanup_using_control_segment(dsm_handle old_control_handle)
 	}
 
 	/*
-	 * OK, the control segment looks basically valid, so we can get use it to
+	 * OK, the control segment looks basically valid, so we can use it to
 	 * get a list of segments that need to be removed.
 	 */
 	nitems = old_control->nitems;
@@ -903,7 +903,7 @@ dsm_segment_map_length(dsm_segment *seg)
  * memory mapping.  That process should then call dsm_segment_handle() to
  * obtain a handle for the mapping, and pass that handle to the
  * coordinating backend via some means (e.g. bgw_main_arg, or via the
- * main shared memory segment).  The recipient, once in position of the
+ * main shared memory segment).  The recipient, once in possession of the
  * handle, should call dsm_attach().
  */
 dsm_handle
-- 
GitLab