forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attach GPDB 7+ child tables to their root
In GPDB 7+, we no longer have large DDL commands to create a partition table and its leaf partitions. Each leaf partition must be created individually (at the moment) and attached to the root or subroot partition. To do this, we must query for some simple partition information and construct the SQL command to attach the partition. This SQL command should be printed immediately after the CREATE TABLE statement of the leaf partition. Authored-by: Kevin Yeap <kyeap@vmware.com>
- Loading branch information
1 parent
c90eadb
commit 08fd7c5
Showing
4 changed files
with
96 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters