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

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


The following commit(s) were added to refs/heads/main by this push:
     new 5b5f54fe3df Fix pg_rewind fail in TAP tests. (#1502)
5b5f54fe3df is described below

commit 5b5f54fe3df2c9a3f9d4565374a916d83437035b
Author: reshke <[email protected]>
AuthorDate: Thu Dec 25 08:22:09 2025 +0500

    Fix pg_rewind fail in TAP tests. (#1502)
    
    With --enable-cassert fails in pg_log_generic_v
    function, in Assert(fmt[strlen(fmt) - 1] != '\n');
    
    Trivially fix removing \n
    
    This assertion is introduced cc8d41511721
---
 src/bin/pg_rewind/pg_rewind.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/pg_rewind/pg_rewind.c b/src/bin/pg_rewind/pg_rewind.c
index 71624cea745..2fae1ffc1b0 100644
--- a/src/bin/pg_rewind/pg_rewind.c
+++ b/src/bin/pg_rewind/pg_rewind.c
@@ -1083,11 +1083,11 @@ get_target_dbid(const char *argv0)
                if (ret == -1)
                        pg_fatal("The program \"postgres\" is needed by %s but 
was \n"
                                         "not found in the same directory as 
\"%s\".\n"
-                                        "Check your installation.\n", 
progname, full_path);
+                                        "Check your installation.", progname, 
full_path);
                else
                        pg_fatal("The program \"postgres\" was found by 
\"%s\"\n"
                                         "but was not the same version as %s.\n"
-                                        "Check your installation.\n", 
full_path, progname);
+                                        "Check your installation.`", 
full_path, progname);
        }
 
        snprintf(cmd, MAXCMDLEN, "\"%s\" -D \"%s\" -C gp_dbid",


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

Reply via email to