From 183d79a7b2bbc68e8aa2e71de2bcffaa7f846063 Mon Sep 17 00:00:00 2001 From: z00848344 Date: Tue, 19 Mar 2024 16:17:45 +0800 Subject: [PATCH] On branch log_absolute_path Your branch is up to date with 'origin/log_absolute_path'. Changes to be committed: modified: src/gausskernel/process/postmaster/postmaster.cpp --- src/gausskernel/process/postmaster/postmaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/process/postmaster/postmaster.cpp b/src/gausskernel/process/postmaster/postmaster.cpp index 0f9ab70b7..7a100c653 100644 --- a/src/gausskernel/process/postmaster/postmaster.cpp +++ b/src/gausskernel/process/postmaster/postmaster.cpp @@ -2314,7 +2314,7 @@ int PostmasterMain(int argc, char* argv[]) checkDataDir(); /* Verify disk space of u_sess->attr.attr_common.Log_directory */ - if (u_sess->attr.attr_common.Log_directory != NULL) { + if (u_sess->attr.attr_common.Log_directory != NULL && is_absolute_path(u_sess->attr.attr_common.Log_directory)) { CheckPgLogDisk(); }