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.
Prevent partition queries from running in gpdb7
In GPDB 7+, partition tables have been heavily revamped to match the upstream Postgres implementation. Due to this, many existing gpbackup partitioning logic will simply error out due to missing catalog functions, catalog views, and catalog tables. As a first step in preparation for upgrading the gpbackup to support gpdb7, prevent any queries that use the following deprecated code. Catalog functions removed: pg_get_partition_def pg_get_partition_template_def Catalog tables removed: pg_partitions pg_partition_columns pg_partition_templates pg_partition pg_partition_rule pg_partition_encoding Authored-by: Kevin Yeap <kyeap@vmware.com>
- Loading branch information
1 parent
0c7ec12
commit ea1c002
Showing
6 changed files
with
100 additions
and
52 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
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