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

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


The following commit(s) were added to refs/heads/REL_2_STABLE by this push:
     new 621702d4a40 Make initial value of the 
gp_create_table_random_default_distribution GUC equal to the default one
621702d4a40 is described below

commit 621702d4a40703236a333f079131e6ce617032c2
Author: Andrey Sokolov <[email protected]>
AuthorDate: Thu Sep 10 13:57:40 2026 +0300

    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;


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

Reply via email to