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

Zsolt Parragi <zsolt.parragi@percona.com>

From: Zsolt Parragi <zsolt.parragi@percona.com>
To: jian he <jian.universality@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, wangpeng <215722532@qq.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-02-24T20:09:35Z
Lists: pgsql-hackers
Shouldn't these also use pg_log_error + pg_log_error_hint + exit_nicely?

And there's a commit message typo:

"there 3 combination should fail immediately"

there -> these

Otherwise it looks good to me.



Commits

  1. pg_dumpall: Fix handling of conflicting options.

  2. pg_dump: Add dumpSchema and dumpData derivative flags.