From c098e0687576e4fcd07a211e719bda51be0dd0ba Mon Sep 17 00:00:00 2001 From: Andrey Sokolov Date: Thu, 10 Sep 2026 13:57:40 +0300 Subject: [PATCH] Make initial value of the gp_create_table_random_default_distribution GUC equal to the default one The gp_create_table_random_default_distribution variable was initialized with true, but the default value of the corresponding GUC is false. Set the initial value to the GUC's default value to make the code easier to understand. cherry picked from 01c6e69d807c62fda97779378b014f2f7906a695 --- src/backend/utils/misc/guc_gp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/misc/guc_gp.c b/src/backend/utils/misc/guc_gp.c index 7a4433cfa98..f9d6c6ee3e3 100644 --- a/src/backend/utils/misc/guc_gp.c +++ b/src/backend/utils/misc/guc_gp.c @@ -170,7 +170,7 @@ bool Debug_datumstream_block_read_check_integrity = false; bool Debug_datumstream_block_write_check_integrity = false; bool Debug_datumstream_read_print_varlena_info = false; bool Debug_datumstream_write_use_small_initial_buffers = false; -bool gp_create_table_random_default_distribution = true; +bool gp_create_table_random_default_distribution = false; bool gp_allow_non_uniform_partitioning_ddl = true; bool gp_print_create_gang_time = false; int dtx_phase2_retry_second = 0;