This is an automated email from the ASF dual-hosted git repository.
tuhaihe 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 b3f0cea7c06 Remove duplicated declaration of
gp_create_table_random_default_distribution
b3f0cea7c06 is described below
commit b3f0cea7c06599901de668ff84dfa06eab153888
Author: Andrey Sokolov <[email protected]>
AuthorDate: Tue Sep 15 10:57:06 2026 +0300
Remove duplicated declaration of gp_create_table_random_default_distribution
gp_create_table_random_default_distribution is a GUC variable and it is
declared in guc.h. There is no need to declare it a second time in
cdbvars.h.
---
src/include/cdb/cdbvars.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/include/cdb/cdbvars.h b/src/include/cdb/cdbvars.h
index b06f3480938..5389e5a3979 100644
--- a/src/include/cdb/cdbvars.h
+++ b/src/include/cdb/cdbvars.h
@@ -790,9 +790,6 @@ extern void write_log(const char *fmt,...)
pg_attribute_printf(1, 2);
extern void increment_command_count(void);
-/* default to RANDOM distribution for CREATE TABLE without DISTRIBUTED BY */
-extern bool gp_create_table_random_default_distribution;
-
/* Functions in guc_gp.c to lookup values in enum GUCs */
extern const char * lookup_autostats_mode_by_value(GpAutoStatsModeValue val);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]