On Tue, 1 Dec 2026 at 05:16, shihao zhong <zhong950419(at)gmail(dot)com> wrote:
>
> Hi,
>
> I can reproduce it, this is because pg_dump treats such a child constraint
> as local, and in binary upgrade mode that also skips the step that resets
> conislocal. The attached patch fixes pg_upgrade.
>
> Thanks,
> Shihao
Fix looks right for the pg_upgrade case, but we do not fix regular
pg_dump - pg_restore schema this way? Does this matter by the way? I
can see from the report that this is not a real field report (yet),
but I think it's just not much time since the pg19 release passed. So,
I think this is something we need to fix.
--
Best regards,
Kirill Reshke