BUG #18952: pg_restore --help and document have strange description: Dump something - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18952: pg_restore --help and document have strange description: Dump something
Date
Msg-id 18952-be40a620f8b1e755@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18952
Logged by:          TAKATSUKA Haruka
Email address:      harukat@sraoss.co.jp
PostgreSQL version: 18beta1
Operating system:   any
Description:

pg_restore --help has strange description like "Dump .....":
[dbhost]$ LANG=C pg_restore --help
pg_restore restores PostgreSQL databases from archives created by pg_dump or
pg_dumpall.
Usage:
  pg_restore [OPTION]... [FILE]
(snip)
  --with-data                  dump the data
  --with-schema                dump the schema
  --with-statistics            dump the statistics
Connection options:
  -h, --host=HOSTNAME      database server host or socket directory
(snip)
https://www.postgresql.org/docs/18/app-pgrestore.html also have the
following description.
--with-data
    Dump data. This is the default.
--with-schema
    Dump schema (data definitions). This is the default.
--with-statistics
    Dump statistics. This is the default.


pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #18947: TRAP: failed Assert("len_to_wrt >= 0") in pg_stat_statements
Next
From: Andrei Varashen
Date:
Subject: Re: BUG #18804: LISTEN on channel fails with "could not access status of transaction"