Re: Restore check_mut_excl_opts, usage in pg_restore and pg_dumpall

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: 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-01 22:35:18
Message-ID: aw9LptaBhjyoP7Js@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v3-0001-pg_dumpall-Fix-handling-of-conflicting-options.patch text/plain 8.1 KB
v3-0002-pg_restore-Refactor-handling-of-conflicting-optio.patch text/plain 6.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-12-01 23:20:21 Re: DOC: Minor updates for logical replication conflicts
Previous Message Sami Imseih 2026-12-01 22:17:09 Re: pgstat: Flush some statistics within running transactions, take 2