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-03-02 22:41:24
Message-ID: aaYSFLaZL4Pb-DCd@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 02, 2026 at 10:23:17PM +0000, Zsolt Parragi wrote:
> New version looks good!

I'm not thrilled about the long list of checks. What if we added a
function that could check an arbitrary number of mutually exclusive
options, a bit like the attached?

--
nathan

Attachment Content-Type Size
v8-0001-pg_dumpall-error-out-conflict-options.patch text/plain 14.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2026-03-02 22:41:54 Re: Improve pgindent's formatting named fields in struct literals and varidic functions
Previous Message Masahiko Sawada 2026-03-02 22:25:39 Re: POC: Parallel processing of indexes in autovacuum