aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-06-07 17:34:33 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2016-06-07 17:34:33 +0100
commit1f74a9088881d5e7e3fc20508bc6fa47beeb6290 (patch)
tree83cd6a3b7e7c17ae000f3c4860e968891ecb0782
parentcfd4804b1ebed8108ef6caedc76fb6eb37bc9724 (diff)
downloadpostgresql-1f74a9088881d5e7e3fc20508bc6fa47beeb6290.tar.gz
postgresql-1f74a9088881d5e7e3fc20508bc6fa47beeb6290.zip
Correct phrasing in dsm.c comments
-rw-r--r--src/backend/storage/ipc/dsm.c4
1 files 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