Fix pg_dump sorting of foreign key constraints
Álvaro Herrera <alvherre@kurilemu.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump_sort.c | modified | +2 −1 |
Discussion
- BUG #19074: pg_dump from v18 loses the NOT NULL flag in the inherited table field when dumping v17-databases 12 messages · 2025-10-05 → 2025-10-20