Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1f74a90

Browse files
Correct phrasing in dsm.c comments
1 parent cfd4804 commit 1f74a90

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/ipc

1 file changed

+2
-2
lines changed

src/backend/storage/ipc/dsm.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ dsm_cleanup_using_control_segment(dsm_handle old_control_handle)
245245
}
246246

247247
/*
248-
* OK, the control segment looks basically valid, so we can get use it to
248+
* OK, the control segment looks basically valid, so we can use it to
249249
* get a list of segments that need to be removed.
250250
*/
251251
nitems = old_control->nitems;
@@ -903,7 +903,7 @@ dsm_segment_map_length(dsm_segment *seg)
903903
* memory mapping. That process should then call dsm_segment_handle() to
904904
* obtain a handle for the mapping, and pass that handle to the
905905
* coordinating backend via some means (e.g. bgw_main_arg, or via the
906-
* main shared memory segment). The recipient, once in position of the
906+
* main shared memory segment). The recipient, once in possession of the
907907
* handle, should call dsm_attach().
908908
*/
909909
dsm_handle

0 commit comments

Comments
 (0)