Hi,

The attached patch fixes queries in foreign_key.sql that use ORDER BY
oid::regclass::text. The oid column in pg_constraint is the constraint's
own OID and doesn't reference pg_class. This makes the ordering unstable
across runs.

Replaced with ORDER BY conrelid::regclass::text, conname.

Thanks,
Tanzeel

Attachment: v1-0001-Fix-flaky-ORDER-BY-in-foreign_key-reg.patch
Description: v1-0001-Fix-flaky-ORDER-BY-in-foreign_key-reg.patch

Reply via email to