Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcEpp-0004tu-O8 for pgsql-docs@arkaria.postgresql.org; Tue, 23 Aug 2016 16:45:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcEpo-0001HT-NU for pgsql-docs@arkaria.postgresql.org; Tue, 23 Aug 2016 16:45:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcEpo-0001HF-At for pgsql-docs@postgresql.org; Tue, 23 Aug 2016 16:45:56 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bcEpl-0000jx-5f for pgsql-docs@postgresql.org; Tue, 23 Aug 2016 16:45:55 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bcEpj-0002NY-MU; Tue, 23 Aug 2016 12:45:51 -0400 Date: Tue, 23 Aug 2016 12:45:51 -0400 From: Bruce Momjian To: Alexander Law Cc: "pgsql-docs@postgresql.org" Subject: Re: Incorrect 'literal' tags Message-ID: <20160823164551.GA3895@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Thu, Aug 18, 2016 at 11:38:15AM +0300, Alexander Law wrote: > Hello, > > While translating docs I encountered an inconsistency with the > literal/replaceable Docbook tags. > > I believe that the 'replaceable' tag should be used for keywords that > intended to be replaced with some values, but 'literal' is for literal > usage. But there are some places in the docs where 'literal' is used for > replaceable values. Patch attached. Patch applied and backpatched to 9.6. --------------------------------------------------------------------------- > > Best regards, > Alexander > > diff --git a/doc/src/sgml/pgstandby.sgml b/doc/src/sgml/pgstandby.sgml > index fb3f32e..80c6f60 100644 > --- a/doc/src/sgml/pgstandby.sgml > +++ b/doc/src/sgml/pgstandby.sgml > @@ -363,7 +363,7 @@ recovery_end_command = 'del C:\pgsql.trigger.5442' > The copy command on Windows sets the final file size > before the file is completely copied, which would ordinarily confuse > pg_standby. Therefore > - pg_standby waits sleeptime > + pg_standby waits sleeptime > seconds once it sees the proper file size. GNUWin32's cp > sets the file size only after the file copy is complete. > > diff --git a/doc/src/sgml/ref/pg_xlogdump.sgml b/doc/src/sgml/ref/pg_xlogdump.sgml > index 296f1ac..177caab 100644 > --- a/doc/src/sgml/ref/pg_xlogdump.sgml > +++ b/doc/src/sgml/ref/pg_xlogdump.sgml > @@ -153,7 +153,7 @@ PostgreSQL documentation > > > Timeline from which to read log records. The default is to use the > - value in startseg, if that is specified; otherwise, the > + value in startseg, if that is specified; otherwise, the > default is 1. > > > diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml > index f58da35..285608d 100644 > --- a/doc/src/sgml/ref/pgbench.sgml > +++ b/doc/src/sgml/ref/pgbench.sgml > @@ -433,7 +433,7 @@ pgbench options dbname > sec > > > - Show progress report every sec seconds. The report > + Show progress report every sec seconds. The report > includes the time since the beginning of the run, the tps since the > last report, and the transaction latency average and standard > deviation since the last report. Under throttling (