On 2026-Nov-27, Raja Sai pranav wrote:
> Here is a patch. pg_dump now makes each ancestor's NOT VALID not-null
> constraints depend on the child's own, so the child's command runs first
> and the parent's then merges into it, the same way the original schema
> was built. The restored catalog then matches the source: the child keeps
> its own constraint name, with conislocal = true and coninhcount = 1.
Hmm, I didn't verify the code in detail, but I wonder if it would be
possible to approach this fix better in flagInhAttrs()?
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"No es bueno caminar con un hombre muerto"