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

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

commit e74d40166e2da79712712145a443c1751ce82fae
Author: Junwang Zhao <[email protected]>
AuthorDate: Thu Jul 14 13:44:01 2022 +0800

    [initdb] remove ending \n from pg_log_error (#13794)
    
    This seems like a omission when mergeing upstream postgresql 12,
    some `fprintf` are changed to `pg_log_error`, every change removed
    the ending `\n` except here.
    
    This patch fixed issue #13700
    
    Signed-off-by: Junwang Zhao <[email protected]>
---
 src/bin/pg_basebackup/pg_basebackup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pg_basebackup/pg_basebackup.c 
b/src/bin/pg_basebackup/pg_basebackup.c
index da99a7656f..53be313b22 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -1906,7 +1906,7 @@ build_exclude_list(void)
 
        if (PQExpBufferDataBroken(buf))
        {
-               pg_log_error("out of memory\n");
+               pg_log_error("out of memory");
                exit(1);
        }
 


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

Reply via email to