This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 9bdea2a41c9762a9947f29064b9e602589548f61
Author: Brent Doil <[email protected]>
AuthorDate: Mon Jan 29 12:31:56 2024 -0500

    Fix check_multi_column_list_partition_keys
    
    The check should only run on 6X.
---
 src/bin/pg_upgrade/greenplum/check_gp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/pg_upgrade/greenplum/check_gp.c 
b/src/bin/pg_upgrade/greenplum/check_gp.c
index 37ec7e0c72..6e243acec6 100644
--- a/src/bin/pg_upgrade/greenplum/check_gp.c
+++ b/src/bin/pg_upgrade/greenplum/check_gp.c
@@ -580,6 +580,9 @@ check_multi_column_list_partition_keys(ClusterInfo *cluster)
        bool                    found = false;
        int                             dbnum;
 
+       if (GET_MAJOR_VERSION(cluster->major_version) > 904)
+               return;
+
        prep_status("Checking for multi-column LIST partition keys");
 
        snprintf(output_path, sizeof(output_path), "%s/%s",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to