mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -441,23 +441,6 @@
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Make <application>pg_dump</application> recreate table partitions
|
||||
using <command>ATTACH PARTITION</command> instead
|
||||
of <command>CREATE TABLE ... PARTITION OF</command> (David Rowley)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
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 <command>ATTACH PARTITION</command> will fail of course, but
|
||||
the partition table itself can be created and populated.)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Avoid crash in <filename>contrib/postgres_fdw</filename> when a
|
||||
|
Reference in New Issue
Block a user