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 1e2dc7cca69a9b6b95dae6f3dba93271e914b3c1
Author: reshke <[email protected]>
AuthorDate: Fri Dec 26 13:09:08 2025 +0000

    Remove const qualifier from function declaration.
    
    due to complier complians
    
    
/home/reshke/cloudberry/contrib/pax_storage/../../src/include/utils/numeric.h:319:8:
 warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
      319 | extern const bool init_var_from_str(const char *str, const char 
*cp, NumericVar *dest, const char **endptr,
          |        ^~~~~
---
 src/backend/utils/adt/numeric.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c
index c1f4ca54175..e845b80f553 100644
--- a/src/backend/utils/adt/numeric.c
+++ b/src/backend/utils/adt/numeric.c
@@ -7059,7 +7059,7 @@ zero_numeric_var(NumericVar *var)
  * Returns true on success, false on failure (if escontext points to an
  * ErrorSaveContext; otherwise errors are thrown).
  */
-const bool
+bool
 init_var_from_str(const char *str, const char *cp, NumericVar *dest, const 
char **endptr,
                                  Node *escontext)
 {


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

Reply via email to