Re: Missing whitespace in pg_restore manpage

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Lele Gaifax <lele@metapensiero.it>, pgsql-bugs@lists.postgresql.org
Date: 2025-04-15T05:47:19Z
Lists: pgsql-bugs

Attachments


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

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. doc: Fix missing whitespace in pg_restore documentation.