BUG #19042: Option --help not recognized at the end of command line in pg_restore

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: matthias(dot)hoermann(at)saltation(dot)com
Subject: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Date: 2025-09-03 11:07:24
Message-ID: 19042-347869ae37c993f4@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19042
Logged by: Matthias Hörmann
Email address: matthias(dot)hoermann(at)saltation(dot)com
PostgreSQL version: 17.6
Operating system: Debian bookworm
Description:

When calling pg_restore trying to use --help at the end to see which other
options I might want to specify tells me that --help is an unrecognized
option and I am supposed to run pg_restore --help for more information.

```
# pg_restore --version
pg_restore (PostgreSQL) 17.6 (Debian 17.6-1.pgdg12+1)
# sudo -u postgres pg_restore -f /tmp/redacted_20250903_130108.pg_dump
--help
/usr/lib/postgresql/17/bin/pg_restore: unrecognized option '--help'
pg_restore: hint: Try "pg_restore --help" for more information.
```

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2025-09-03 11:45:15 Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Previous Message PG Bug reporting form 2025-09-03 10:19:17 BUG #19041: Logical replication locks wal processing