Re: pg_dumpall --roles-only interact with other options - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: pg_dumpall --roles-only interact with other options
Date
Msg-id aacYSfgxTb6neYiu@nathan
Whole thread Raw
In response to Re: pg_dumpall --roles-only interact with other options  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: pg_dumpall --roles-only interact with other options
List pgsql-hackers
On Tue, Mar 03, 2026 at 10:46:51AM +0800, Chao Li wrote:
> ```
> +            pg_fatal("options %s and %s cannot be used together",
> +                     first, opt);
> ```
> 
> The current code also shows a hint upon the error, do we want to retain that?

IMHO the hint is kind of silly because --help doesn't actually provide any
useful information about which options conflict with each other.  Not to
mention that pg_dump doesn't provide a hint for conflicting options.

-- 
nathan



pgsql-hackers by date:

Previous
From: Anthonin Bonnefoy
Date:
Subject: Re: Shutdown indefinitely stuck due to unflushed FPI_FOR_HINT record
Next
From: Fujii Masao
Date:
Subject: Re: Shutdown indefinitely stuck due to unflushed FPI_FOR_HINT record