Thread
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_restore: Fix wrong descriptions of --with-{schema,data,statistics} options.
- 84914e964b44 18.0 landed
-
Add pg_dump --with-{schema|data|statistics} options.
- bde2fb797aae 18.0 cited
-
BUG #18952: pg_restore --help and document have strange description: Dump something
PG Bug reporting form <noreply@postgresql.org> — 2025-06-10T07:35:00Z
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. -
Re: BUG #18952: pg_restore --help and document have strange description: Dump something
Fujii Masao <masao.fujii@oss.nttdata.com> — 2025-06-11T01:04:24Z
On 2025/06/10 16:35, PG Bug reporting form wrote: > 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. Thanks for the report! Are you suggesting that "dump" in the help message and docs should be "restore"? If so, does the attached patch address that correctly? Regards, -- Fujii Masao NTT DATA Japan Corporation
-
Re: BUG #18952: pg_restore --help and document have strange description: Dump something
TAKATSUKA Haruka <harukat@sraoss.co.jp> — 2025-06-11T02:38:07Z
On Wed, 11 Jun 2025 10:04:24 +0900 Fujii Masao <masao.fujii@oss.nttdata.com> wrote: > On 2025/06/10 16:35, PG Bug reporting form wrote: > > 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. > > Thanks for the report! > > Are you suggesting that "dump" in the help message and docs should be "restore"? > If so, does the attached patch address that correctly? Yes. IMHO, if we take the intent of the commit bde2fb797aae, your patch is correct.
-
Re: BUG #18952: pg_restore --help and document have strange description: Dump something
Fujii Masao <masao.fujii@oss.nttdata.com> — 2025-06-12T12:20:47Z
On 2025/06/11 11:38, TAKATSUKA Haruka wrote: > On Wed, 11 Jun 2025 10:04:24 +0900 > Fujii Masao <masao.fujii@oss.nttdata.com> wrote: > >> On 2025/06/10 16:35, PG Bug reporting form wrote: >>> 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. >> >> Thanks for the report! >> >> Are you suggesting that "dump" in the help message and docs should be "restore"? >> If so, does the attached patch address that correctly? > > Yes. > IMHO, if we take the intent of the commit bde2fb797aae, your patch is correct. Okay, so if there are no objections, I'll go ahead and commit the patch. Regards, -- Fujii Masao NTT DATA Japan Corporation
-
Re: BUG #18952: pg_restore --help and document have strange description: Dump something
Daniel Gustafsson <daniel@yesql.se> — 2025-06-12T12:28:54Z
> On 12 Jun 2025, at 14:20, Fujii Masao <masao.fujii@oss.nttdata.com> wrote: > Okay, so if there are no objections, I'll go ahead and commit the patch. Nice catch, your patch looks correct. -- Daniel Gustafsson
-
Re: BUG #18952: pg_restore --help and document have strange description: Dump something
Fujii Masao <masao.fujii@oss.nttdata.com> — 2025-06-12T14:27:12Z
On 2025/06/12 21:28, Daniel Gustafsson wrote: >> On 12 Jun 2025, at 14:20, Fujii Masao <masao.fujii@oss.nttdata.com> wrote: > >> Okay, so if there are no objections, I'll go ahead and commit the patch. > > Nice catch, your patch looks correct. Thanks for the review! Pushed. Regards, -- Fujii Masao NTT DATA Japan Corporation