pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matthias.hoermann@saltation.com
Subject: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Date: Wed, 03 Sep 2025 11:07:24 +0000
Message-ID: <19042-347869ae37c993f4@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      19042
Logged by:          Matthias Hörmann
Email address:      matthias.hoermann@saltation.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.
```



view thread (20+ messages)  latest in thread

Message-ID: <19042-347869ae37c993f4@postgresql.org>
Permalink:  ../19042-347869ae37c993f4@postgresql.org/
Also on:    postgresql.org/message-id/19042-347869ae37c993f4@postgresql.org

 · 

reply

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, matthias.hoermann@saltation.com
  Subject: Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
  In-Reply-To: <19042-347869ae37c993f4@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