Incorrect 'literal' tags

Поиск
Список
Период
Сортировка
Искать

Incorrect 'literal' tags

От:
Alexander Law <exclusion@gmail.com>
Дата:
Вложения:
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.

Best regards,
Alexander

Re: Incorrect 'literal' tags

От:
Bruce Momjian <bruce@momjian.us>
Дата:
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 (

Re: Incorrect 'literal' tags

От:
Alexander Law <exclusion@gmail.com>
Дата:
Вложения:
Hello,

>> 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.

Thanks!
I've found some more places where  usage is incorrect. Patch attached.

Best regards,
Alexander

Re: Incorrect 'literal' tags

От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Wed, Aug 24, 2016 at 01:17:25PM +0300, Alexander Law wrote:
> Hello,
> 
> >>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.
> 
> Thanks!
> I've found some more places where  usage is incorrect. Patch attached.

Patch applied and backpatched to 9.6.  Thanks.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +

FAQ