Re: Missing whitespace in pg_restore manpage - Mailing list pgsql-bugs

From Fujii Masao
Subject Re: Missing whitespace in pg_restore manpage
Date
Msg-id 508337df-2ea5-469a-b4be-920d0378dcdb@oss.nttdata.com
Whole thread Raw
In response to Missing whitespace in pg_restore manpage  (Lele Gaifax <lele@metapensiero.it>)
Responses Re: Missing whitespace in pg_restore manpage
List pgsql-bugs

On 2025/04/14 18:55, Lele Gaifax wrote:
> Hi all,
> 
> the manpage for "pg_restore" tool, in its "--filter" option description,
> is missing a whitespace after the reference to "--exclude-schema"
> option:
> 
> diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
> index 0ba68ad5305..b6de497aee1 100644
> --- a/doc/src/sgml/ref/pg_restore.sgml
> +++ b/doc/src/sgml/ref/pg_restore.sgml
> @@ -231,7 +231,7 @@ PostgreSQL documentation
>           or included from restore. The patterns are interpreted according to the
>           same rules as
>           <option>-n</option>/<option>--schema</option> for including objects in schemas,
> -        <option>-N</option>/<option>--exclude-schema</option>for excluding objects in schemas,
> +        <option>-N</option>/<option>--exclude-schema</option> for excluding objects in schemas,
>           <option>-P</option>/<option>--function</option> for restoring named functions,
>           <option>-I</option>/<option>--index</option> for restoring named indexes,
>           <option>-t</option>/<option>--table</option> for restoring named tables

Thanks for the report! I think you're right, and I've created a patch
based on your suggestion.

Since this typo was introduced in v17, the patch should be back-patched
to that branch as well.

By the way, I noticed both "Lele Gaifax" and "Emanuele Gaifas" in your email.
Could you let me know which name you'd prefer to use as the author in
the commit message? For now, I've used "Lele Gaifax" in the attached patch.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachment

pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: BUG #18894: values of JLC_COLLATE and LC_CTYPE in the database have changed from Japanese_Japan.932 to ja-jp
Next
From: Lele Gaifax
Date:
Subject: Re: Missing whitespace in pg_restore manpage