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

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

commit e11b95342805bfc675cb28d903247165eff56fea
Author: liushengsong <[email protected]>
AuthorDate: Wed Jun 17 16:25:23 2026 +0800

    Remove MERGE16_FIXME comment in extract_directory
    
    The forceoverwrite check is unnecessary here because
    verify_dir_is_empty_or_create already handles non-empty directories
    before tar extraction begins.
---
 src/bin/pg_basebackup/bbstreamer_file.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/pg_basebackup/bbstreamer_file.c 
b/src/bin/pg_basebackup/bbstreamer_file.c
index 504225f0959..6101cc2ab97 100644
--- a/src/bin/pg_basebackup/bbstreamer_file.c
+++ b/src/bin/pg_basebackup/bbstreamer_file.c
@@ -327,7 +327,6 @@ should_allow_existing_directory(const char *pathname)
 static void
 extract_directory(const char *filename, mode_t mode)
 {
-       /* MERGE16_FIXME: We should test forceoverwrite here ? */
        if (pg_check_dir(filename) != 0)
        {
                /*


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

Reply via email to