> On Dec 2, 2026, at 06:35, Nathan Bossart <[email protected]> wrote:
>
> On Sat, Jul 25, 2026 at 11:03:57PM +0900, Fujii Masao wrote:
>> I'm wondering about backpatching. Patch 0003 fixes undefined behavior
>> introduced by check_mut_excl_opts(), so it seems appropriate to
>> backpatch it to v19. Patches 0001 and 0002 are mostly refactoring,
>> but they restore the v19-era cleanup that was lost when the pg_dumpall
>> non-text-format support was reverted, so backpatching those to v19 also
>> seems OK to me. Thoughts?
>
> I've committed (and back-patched) 0003, and I've attached a new version of
> the remaining patches. At this point, since 19.0 is now released, I don't
> think we should back-patch these. I plan to commit them within the next
> couple of days.
>
> --
> nathan
> <v3-0001-pg_dumpall-Fix-handling-of-conflicting-options.patch><v3-0002-pg_restore-Refactor-handling-of-conflicting-optio.patch>
Overall v3 looks good to me.
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 */
```
Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/