Re: Restore check_mut_excl_opts, usage in pg_restore and pg_dumpall

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Mahendra Singh Thalor <mahi6run(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, nathan(at)postgresql(dot)org
Subject: Re: Restore check_mut_excl_opts, usage in pg_restore and pg_dumpall
Date: 2026-12-02 16:47:40
Message-ID: axBLrAaBu0omsERM@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 02, 2026 at 09:57:26AM +0800, Chao Li wrote:
> Overall v3 looks good to me.

Committed, thanks for looking.

> Only a nit comment on 0002:
> ```
> /* Should get at most one of -d and -f, else user is confused */
> ```
>
> This comment is retained from the original code, but 0002 adds new comments in a consistent form, like:
> ```
> /* --dbname and --restrict-key are incompatible */
> ```
>
> So, for consistency, maybe update the old comment to:
> ```
> /* --dbname and --file are incompatible */
> ```

Eh, I think the existing comment is fine.

--
nathan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-12-02 17:02:45 Move src/backend/storage/ipc/ to just src/backend/ipc/
Previous Message Zhijie Hou 2026-12-02 16:30:11 Re: Incremental backup inconsistency after vacuum truncation + COPY regrowth