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 aYoyWeud60EDsUAl@nathan
Whole thread Raw
In response to Re: pg_dumpall --roles-only interact with other options  (Zsolt Parragi <zsolt.parragi@percona.com>)
Responses Re: pg_dumpall --roles-only interact with other options
List pgsql-hackers
On Mon, Feb 09, 2026 at 07:09:54PM +0000, Zsolt Parragi wrote:
> But it is again missing a few cases that should error out before
> pg_dump, as currently it fails after pg_dump errors out:
> 
> --schema-only --no-schema
> --data-only --no-data
> --statistics-only --no-statistics

Is there a reason we need to duplicate these checks in pg_dumpall when they
are already handled by pg_dump?

-- 
nathan



pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: pg_dumpall --roles-only interact with other options
Next
From: Tom Lane
Date:
Subject: Re: ecdh support causes unnecessary roundtrips