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

gfphoenix78 pushed a commit to branch sync-with-upstream
in repository https://gitbox.apache.org/repos/asf/cloudberry-gpbackup.git


The following commit(s) were added to refs/heads/sync-with-upstream by this 
push:
     new 5b97df86 fix(tests): Use compatible operator for legacy script (#38)
5b97df86 is described below

commit 5b97df864e13244f55cb837df2e73f93bef14681
Author: Robert Mu <[email protected]>
AuthorDate: Mon Sep 8 10:26:57 2025 +0800

    fix(tests): Use compatible operator for legacy script (#38)
    
    The `gpdb4_objects.sql` script failed on certain database versions
    as it defined a postfix operator, a feature no longer supported.
    
    To ensure compatibility, the unsupported postfix operator has been
    replaced with a standard binary operator definition. This allows the
    test to validate the backup and restore of operator metadata across
    all supported database versions.
    
    This change is safe as the test's purpose is to check the handling of
    the operator's metadata, not its runtime functionality.
---
 end_to_end/resources/gpdb4_objects.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/end_to_end/resources/gpdb4_objects.sql 
b/end_to_end/resources/gpdb4_objects.sql
index 0607a119..1fc23605 100644
--- a/end_to_end/resources/gpdb4_objects.sql
+++ b/end_to_end/resources/gpdb4_objects.sql
@@ -99,8 +99,9 @@ CREATE AGGREGATE agg_test(integer) (
 
 
 CREATE OPERATOR #### (
-    PROCEDURE = numeric_fac,
-    LEFTARG = bigint
+    PROCEDURE = int8pl,
+    LEFTARG = bigint,
+    RIGHTARG = bigint
 );
 
 


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

Reply via email to