From e8ecd924c3b13576fd8f1e807bb45e3860ee08d3 Mon Sep 17 00:00:00 2001 From: chenzhikai <895543892@qq.com> Date: Tue, 10 Sep 2024 14:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=B1=A0=E5=8C=96=E5=8D=95?= =?UTF-8?q?=E9=9B=86=E7=BE=A4=E7=A6=81=E6=AD=A2build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/pg_ctl/pg_ctl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/pg_ctl/pg_ctl.cpp b/src/bin/pg_ctl/pg_ctl.cpp index d04e4f41a..dfc784d0f 100755 --- a/src/bin/pg_ctl/pg_ctl.cpp +++ b/src/bin/pg_ctl/pg_ctl.cpp @@ -7129,6 +7129,10 @@ int main(int argc, char** argv) break; #endif case BUILD_COMMAND: + if (enable_dss && !ss_instance_config.dss.enable_stream && !ss_instance_config.dss.enable_dorado) { + pg_log(PG_PROGRESS, _("build command is not supported in share storage single cluster\n")); + goto Error; + } if (build_mode == COPY_SECURE_FILES_BUILD && (conn_str == NULL || register_username == NULL || register_password == NULL)) { pg_log(PG_PROGRESS, _("When copy secure files from remote, need remote host and authentication!\n"));