From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: harukat@sraoss.co.jp
Subject: BUG #18952: pg_restore --help and document have strange description: Dump something
Date: Tue, 10 Jun 2025 07:35:00 +0000
Message-ID: <18952-be40a620f8b1e755@postgresql.org> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, harukat@sraoss.co.jp
Subject: Re: BUG #18952: pg_restore --help and document have strange description: Dump something
In-Reply-To: <18952-be40a620f8b1e755@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox