You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by re...@apache.org on 2025/12/29 09:35:56 UTC
(cloudberry) branch cbdb-postgres-merge updated (e728ad0326d -> 93407789d5b)
This is an automated email from the ASF dual-hosted git repository.
reshke pushed a change to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
from e728ad0326d Resolve GPORCA issue for Value * node.
new 22e16c6d561 Define DatumGetInt8 function.
new 93407789d5b Fix issues with statext_ndistinct_load.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/backend/gpopt/gpdbwrappers.cpp | 3 ++-
src/include/postgres.h | 10 ++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
(cloudberry) 02/02: Fix issues with statext_ndistinct_load.
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reshke pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 93407789d5b052c091a202e5cc14402dfdfa6a08
Author: reshke <re...@double.cloud>
AuthorDate: Mon Dec 29 09:35:06 2025 +0000
Fix issues with statext_ndistinct_load.
---
src/backend/gpopt/gpdbwrappers.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/gpopt/gpdbwrappers.cpp b/src/backend/gpopt/gpdbwrappers.cpp
index 81bbf954cbd..947cd3f985a 100644
--- a/src/backend/gpopt/gpdbwrappers.cpp
+++ b/src/backend/gpopt/gpdbwrappers.cpp
@@ -1960,7 +1960,8 @@ gpdb::GetMVNDistinct(Oid stat_oid)
{
GP_WRAP_START;
{
- return statext_ndistinct_load(stat_oid);
+ /* CBDB_16_MERGE: xxx: do we need ihn = true in any case? */
+ return statext_ndistinct_load(stat_oid, false);
}
GP_WRAP_END;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
(cloudberry) 01/02: Define DatumGetInt8 function.
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reshke pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 22e16c6d561dde9984f57e53f95b2d43cb3b697f
Author: reshke <re...@double.cloud>
AuthorDate: Mon Dec 29 09:32:35 2025 +0000
Define DatumGetInt8 function.
---
src/include/postgres.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/include/postgres.h b/src/include/postgres.h
index ceef59b921b..1c3b24dd009 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -158,6 +158,16 @@ Int8GetDatum(int8 X)
return (Datum) X;
}
+/*
+ * DatumGetInt8
+ * Returns 8-bit signed integer value of a datum.
+ */
+static inline int8
+DatumGetInt8(Datum X)
+{
+ return (int8) X;
+}
+
/*
* DatumGetUInt8
* Returns 8-bit unsigned integer value of a datum.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org