Revert "Make pg_dump emit ATTACH PARTITION instead of PARTITION OF"

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: a1ec7402e9a0392f95bc79542af0efcd5c6e7929
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-05-06T16:23:49Z
Releases: 12.0
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

PathChange+/−
src/bin/pg_dump/pg_dump.c modified +72 −51
src/bin/pg_dump/t/002_pg_dump.pl modified +3 −9

Discussion