Re: reload-through-the-top-parent switch the partition table
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Rushabh Lathia <rushabh.lathia@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-03T14:43:25Z
Lists: pgsql-hackers
On Wed, Aug 2, 2017 at 4:08 PM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote: > On 8/2/17 13:58, Tom Lane wrote: >> I notice that the option list already includes some references to >> "insert", so maybe "--insert-via-partition-root"? Although you could >> argue that that's confusing when we're using COPY. > > "load" could be more general. But I'm also OK with "restore". "load" seems better than "restore" to me, both because it's shorter and because it sounds less like pg_dump will be doing the job of pg_restore. So maybe --load-via-partition-root if nobody likes my previous suggestion of --partition-data-via-root ? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
pg_dump: Add a --load-via-partition-root option.
- 23d7680d04b9 11.0 landed
-
Improve pg_dump's dependency-sorting logic to enforce section dump order.
- a1ef01fe163b 9.3.0 cited