Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo89S-00021d-5x for pgsql-committers@arkaria.postgresql.org; Fri, 01 May 2015 10:26:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yo89R-0003x0-Lv for pgsql-committers@arkaria.postgresql.org; Fri, 01 May 2015 10:26:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yo89Q-0003vJ-9j for pgsql-committers@postgresql.org; Fri, 01 May 2015 10:26:32 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Yo89N-0000R3-PW for pgsql-committers@postgresql.org; Fri, 01 May 2015 10:26:31 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 9AA6C860003; Fri, 1 May 2015 12:26:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, FS_REPLICA autolearn=no version=3.2.5 Received: from anarazel.de (p54895C9D.dip0.t-ipconnect.de [84.137.92.157]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id C0891860001; Fri, 1 May 2015 12:26:16 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 142511006D3; Fri, 1 May 2015 12:26:16 +0200 (CEST) Date: Fri, 1 May 2015 12:26:16 +0200 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Introduce replication progress tracking infrastructure. Message-ID: <20150501102616.GB22649@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2015-04-30 13:56:08 +0900, Michael Paquier wrote: > On Thu, Apr 30, 2015 at 2:37 AM, Andres Freund wrote: > > Introduce replication progress tracking infrastructure. > > [...] > > Some comments about the docs: > 1) "the the": > + > + Create a replication origin with the the passed in external > + name, and create an internal id for it. > + > + Fixed. > 2) Missing markup for oid. > + > + Lookup replication origin by name and return the internal > + oid. If no corresponding replication origin is found a error > + is thrown. > + > + I'm not really seeing a problem in that. To me it doesn't seem helpful to refer to types when it's not about the type. Anyway, I added it here and a couple other places nonetheless, I don't really care that much. The excerpt highlighted a 'a' vs 'an' error, found a good many more :(. Should probably have either earlier or never learned about the actual rules behind this stuff. > 3) Perhaps "Check that a replication has been configured in the > current session" instead of using a question? > + > + Has a replication origin been configured in the current session? > + Hm, reads fine to me. > 4) Missing markup for oid? > + Replication origins consist out of a name and a oid. The name, which Same as 2). > 5) "will persist" or "will be persistent", not "will be persist" I guess. > + If that's done replication progress will be persist in a crash safe I guess I rewrote that sentence once too often... > 6) The use of "that, that" looks weird to me. There should be only one. > + system to one other, another problem can be that, that it is hard to avoid Yes, that sounds wrong. I'll just remove the comma and one 'that'. Pushed the fixups. Thanks for the check! Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers