Re: Refactor handling of "-only" options in pg_dump, pg_restore
Zsolt Parragi <zsolt.parragi@percona.com>
From: Zsolt Parragi <zsolt.parragi@percona.com>
To: jian he <jian.universality@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-03-02T21:58:30Z
Lists: pgsql-hackers
Hello Simple patch and looks good, just one very minor about this comment: /* reject conflicting "-only" options */ I would either remove the comment or the "-only" part, as that's no longer true. (I see that it was there earlier in the later if, and it was similarly incorrect. So this is not new with the patch, but still seems wrong)
Commits
-
pg_{dump,restore}: Refactor handling of conflicting options.
- 7c8280eeb587 19 (unreleased) landed
-
pg_dumpall: Fix handling of conflicting options.
- b2898baaf7e4 19 (unreleased) cited