Re: pg_dumpall --roles-only interact with other options

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: jian he <jian(dot)universality(at)gmail(dot)com>, wangpeng <215722532(at)qq(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dumpall --roles-only interact with other options
Date: 2026-02-09 19:15:37
Message-ID: aYoyWeud60EDsUAl@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-02-09 19:41:33 Re: ecdh support causes unnecessary roundtrips
Previous Message Zsolt Parragi 2026-02-09 19:09:54 Re: pg_dumpall --roles-only interact with other options