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

chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new 333e70df338 Enable gp_contrib
333e70df338 is described below

commit 333e70df3385c9ee5827612fe7415f217464ea73
Author: Jinbao Chen <[email protected]>
AuthorDate: Wed Oct 22 00:02:46 2025 +0800

    Enable gp_contrib
---
 gpcontrib/Makefile                                 | 40 +++++++++++-----------
 .../gp_legacy_string_agg/gp_legacy_string_agg.c    |  2 +-
 gpcontrib/pg_hint_plan/pg_hint_plan.c              |  1 -
 3 files changed, 21 insertions(+), 22 deletions(-)

diff --git a/gpcontrib/Makefile b/gpcontrib/Makefile
index e615264002b..e2fe6b34f5e 100644
--- a/gpcontrib/Makefile
+++ b/gpcontrib/Makefile
@@ -14,26 +14,26 @@ recurse_targets = ""
 
 recurse_targets = gp_exttable_fdw
 
-#ifeq "$(enable_debug_extensions)" "yes"
-#      recurse_targets = gp_sparse_vector \
-#             gp_distribution_policy \
-#               gp_internal_tools \
-#               gp_debug_numsegments \
-#               gp_inject_fault \
-#               gp_exttable_fdw \
-#               gp_legacy_string_agg \
-#               gp_replica_check \
-#               gp_toolkit \
-#               pg_hint_plan
-#else
-#      recurse_targets = gp_sparse_vector \
-#             gp_distribution_policy \
-#               gp_internal_tools \
-#               gp_legacy_string_agg \
-#               gp_exttable_fdw \
-#               gp_toolkit \
-#               pg_hint_plan
-#endif
+ifeq "$(enable_debug_extensions)" "yes"
+       recurse_targets = gp_sparse_vector \
+              gp_distribution_policy \
+               gp_internal_tools \
+               gp_debug_numsegments \
+               gp_inject_fault \
+               gp_exttable_fdw \
+               gp_legacy_string_agg \
+               gp_replica_check \
+               gp_toolkit \
+               pg_hint_plan
+else
+       recurse_targets = gp_sparse_vector \
+              gp_distribution_policy \
+               gp_internal_tools \
+               gp_legacy_string_agg \
+               gp_exttable_fdw \
+               gp_toolkit \
+               pg_hint_plan
+endif
 
 ifeq "$(with_zstd)" "yes"
        recurse_targets += zstd
diff --git a/gpcontrib/gp_legacy_string_agg/gp_legacy_string_agg.c 
b/gpcontrib/gp_legacy_string_agg/gp_legacy_string_agg.c
index 625204ad382..70719094dc0 100644
--- a/gpcontrib/gp_legacy_string_agg/gp_legacy_string_agg.c
+++ b/gpcontrib/gp_legacy_string_agg/gp_legacy_string_agg.c
@@ -11,7 +11,7 @@
 
 #include "fmgr.h"
 #include "libpq/pqformat.h"            /* needed for send/recv functions */
-
+#include "varatt.h"
 
 PG_MODULE_MAGIC;
 
diff --git a/gpcontrib/pg_hint_plan/pg_hint_plan.c 
b/gpcontrib/pg_hint_plan/pg_hint_plan.c
index 033a9d01200..401d31a6405 100644
--- a/gpcontrib/pg_hint_plan/pg_hint_plan.c
+++ b/gpcontrib/pg_hint_plan/pg_hint_plan.c
@@ -53,7 +53,6 @@
 #include "utils/snapmgr.h"
 #include "utils/syscache.h"
 #include "utils/resowner.h"
-#include "utils/queryjumble.h"
 #include "catalog/pg_class.h"
 
 #include "executor/spi.h"


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

Reply via email to