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

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

commit bc43fd1f4dcb55b900eda51c683cdc631b519676
Author: reshke <[email protected]>
AuthorDate: Sat May 30 16:06:41 2026 +0000

    Fix rebase issue in ac34fdb2af95
---
 src/include/common/fe_memutils.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/include/common/fe_memutils.h b/src/include/common/fe_memutils.h
index e67e1f6501c..34863ca54b0 100644
--- a/src/include/common/fe_memutils.h
+++ b/src/include/common/fe_memutils.h
@@ -93,12 +93,7 @@ extern void *repalloc_mul(void *p, Size s1, Size s2);
 #define palloc0_array(type, count) ((type *) palloc0_mul(sizeof(type), count))
 #define palloc_array_extended(type, count, flags) ((type *) 
palloc_mul_extended(sizeof(type), count, flags))
 #define repalloc_array(pointer, type, count) ((type *) repalloc_mul(pointer, 
sizeof(type), count))
-
-#define palloc_object(type) ((type *) palloc(sizeof(type)))
-#define palloc0_object(type) ((type *) palloc0(sizeof(type)))
-#define palloc_array(type, count) ((type *) palloc(sizeof(type) * (count)))
-#define palloc0_array(type, count) ((type *) palloc0(sizeof(type) * (count)))
-#define repalloc_array(pointer, type, count) ((type *) repalloc(pointer, 
sizeof(type) * (count)))
+#define repalloc_array_extended(pointer, type, count, flags) ((type *) 
repalloc_mul_extended(pointer, sizeof(type), count, flags))
 
 /* sprintf into a palloc'd buffer --- these are in psprintf.c */
 extern char *psprintf(const char *fmt,...) pg_attribute_printf(1, 2);


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

Reply via email to