public inbox for [email protected]  
help / color / mirror / Atom feed
From: Simon Riggs <[email protected]>
To: [email protected]
Subject: Copy editing of Dynamic Shared Memory code comments
Date: Tue, 7 Jun 2016 15:46:17 +0100
Message-ID: <CANP8+jLVTpVJYfRU=AtGCBVgqs3pRknka1wNM348pR6Ry9Uqqg@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

Couple of typos in   src/backend/storage/ipc/dsm.c

Will apply if no objection, given vague possibility of change of meaning.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/;
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [application/octet-stream] typo_dsm.v1.patch (987B, 3-typo_dsm.v1.patch)
  download | inline diff:
diff --git a/src/backend/storage/ipc/dsm.c b/src/backend/storage/ipc/dsm.c
index 573c54d..cd13a62 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


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Copy editing of Dynamic Shared Memory code comments
  In-Reply-To: <CANP8+jLVTpVJYfRU=AtGCBVgqs3pRknka1wNM348pR6Ry9Uqqg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox