From: Alvaro Herrera Date: Mon, 6 May 2019 16:23:49 +0000 (-0400) Subject: Revert "Make pg_dump emit ATTACH PARTITION instead of PARTITION OF" X-Git-Tag: REL_11_3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92880ff8a667f755aa04b54e5cb2c4388c924052;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/release-11.sgml b/doc/src/sgml/release-11.sgml index 373b8de09ac..e9ce1ee9253 100644 --- a/doc/src/sgml/release-11.sgml +++ b/doc/src/sgml/release-11.sgml @@ -1053,29 +1053,6 @@ Branch: REL9_4_STABLE [12c42a543] 2019-04-11 21:06:21 +0200 - - Make pg_dump recreate table partitions - using ATTACH PARTITION instead - of CREATE TABLE ... PARTITION OF (David Rowley) - - - - This avoids various corner-case problems, notably that dump and - restore might unexpectedly alter a partition's column ordering. - It also means that a selective restore of the partition can succeed - even if its parent partitioned table isn't restored. - (The ATTACH PARTITION will fail of course, but - the partition table itself can be created and populated.) - - - - -