]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix pg_dump sorting of foreign key constraints
authorÁlvaro Herrera <alvherre@kurilemu.de>
Sat, 18 Oct 2025 15:50:10 +0000 (17:50 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Sat, 18 Oct 2025 15:50:10 +0000 (17:50 +0200)
commit6062c3db3093d92d6240b88c6818d0e7aaa73341
tree18c532f5a170e7ce7c1bc2c2dff3ba4f23b24641
parentf146eb45cb1ae3e6fb0e1684e33ebaba21c8726d
Fix pg_dump sorting of foreign key constraints

Apparently, commit 04bc2c42f765 failed to notice that DO_FK_CONSTRAINT
objects require identical handling as DO_CONSTRAINT ones, which causes
some pg_upgrade tests in debug builds to fail spuriously.  Add that.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Backpatch-through: 13
Discussion: https://postgr.es/m/202510181201.k6y75v2tpf5r@alvherre.pgsql
src/bin/pg_dump/pg_dump_sort.c