Hi,
I can reproduce it, this is because pg_dump treats such a child constraintas local, and in binary upgrade mode that also skips the step that resetsconislocal. The attached patch fixes pg_upgrade.
Thanks,Shihao