postgresql/src/bin
Alvaro Herrera 1752e35163 Fix parallel restore of FKs to partitioned tables
When an FK constraint is created, it needs the index on the referenced
table to exist and be valid.  When doing parallel pg_restore and the
referenced table was partitioned, this condition can sometimes not be
met, because pg_dump didn't emit sufficient object dependencies to
ensure so; this means that parallel pg_restore would fail in certain
conditions.  Fix by having pg_dump make the FK constraint object
dependent on the partition attachment objects for the constraint's
referenced index.

This has been broken since f56f8f8da6, so backpatch to Postgres 12.

Discussion: https://postgr.es/m/20191005224333.GA9738@alvherre.pgsql
2019-10-17 09:58:01 +02:00
..
initdb initdb: Remove obsolete locale handling 2019-08-14 06:51:13 +02:00
pg_archivecleanup Translation updates 2019-06-17 15:30:20 +02:00
pg_basebackup Split out recovery confing-writing code from pg_basebackup 2019-09-25 14:35:24 -03:00
pg_checksums pg_checksums: Handle read and write returns correctly 2019-09-03 08:30:21 +02:00
pg_config Translation updates 2019-06-17 15:30:20 +02:00
pg_controldata Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
pg_ctl Revert "Hack pg_ctl to report postmaster's exit status." 2019-10-13 12:56:16 -04:00
pg_dump Fix parallel restore of FKs to partitioned tables 2019-10-17 09:58:01 +02:00
pg_resetwal Split tuptoaster.c into three separate files. 2019-09-05 13:15:10 -04:00
pg_rewind Improve test coverage of pg_rewind 2019-10-08 11:46:30 +09:00
pg_test_fsync Translation updates 2019-06-17 15:30:20 +02:00
pg_test_timing Unwind some workarounds for lack of portable int64 format specifier 2019-07-04 17:01:43 +02:00
pg_upgrade Improve the check for pg_catalog.unknown data type in pg_upgrade 2019-10-16 13:23:18 +02:00
pg_waldump Avoid use of wildcard in pg_waldump's .gitignore. 2019-10-05 12:26:55 -04:00
pgbench pgbench: add --partitions and --partition-method options. 2019-10-03 08:27:07 +05:30
pgevent Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
psql Add tab completion for EXPLAIN (SETTINGS) in psql 2019-09-27 12:53:43 +09:00
scripts Fix failure of --jobs with reindexdb and vacuumdb on Windows 2019-08-27 09:11:31 +09:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00