This is an automated email from the ASF dual-hosted git repository.
yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/main by this push:
new 01c6e69d807 Make initial value of the
gp_create_table_random_default_distribution GUC equal to the default one
01c6e69d807 is described below
commit 01c6e69d807c62fda97779378b014f2f7906a695
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.
---
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 4312c86ad15..f376bc411a2 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]