Revert "Make pg_dump emit ATTACH PARTITION instead of PARTITION OF"
Alvaro Herrera <alvherre@alvh.no-ip.org>
Revert "Make pg_dump emit ATTACH PARTITION instead of PARTITION OF" ... and fallout (from branches 10, 11 and master). The change was ill-considered, and it broke a few normal use cases; since we don't have time to fix it, we'll try again after this week's minor releases. Reported-by: Rushabh Lathia Discussion: https://postgr.es/m/CAGPqQf0iQV=PPOv2Btog9J9AwOQp6HmuVd6SbGTR_v3Zp2XT1w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +72 −51 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +3 −9 |
Discussion
- pg_dump: fail to restore partition table with serial type 7 messages · 2019-05-06 → 2019-06-13