This is an automated email from the ASF dual-hosted git repository.
chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/cbdb-postgres-merge by this
push:
new 7855294c88a Check is_singlenode_mode early in pg_regress
7855294c88a is described below
commit 7855294c88a2af4e7fd6262c532ce61d24d676cb
Author: Jinbao Chen <[email protected]>
AuthorDate: Sun Apr 5 22:16:54 2026 -0400
Check is_singlenode_mode early in pg_regress
---
src/test/regress/pg_regress.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index e6ec0a860f2..de3a5a0c71b 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -3260,6 +3260,10 @@ regression_main(int argc, char *argv[],
}
}
+ is_singlenode_mode = check_feature_status("gp_internal_is_singlenode",
"on",
+
"Single node (no segments) mode enabled. Replace '@hostname@' by
hostname of contentid = -1",
+
"Normal cluster detected. Replace '@hostname@' by hostname of
contentid = 0");
+
initialize_environment();
#if defined(HAVE_GETRLIMIT)
@@ -3526,9 +3530,6 @@ regression_main(int argc, char *argv[],
resgroup_enabled = check_feature_status("gp_resource_manager", "group",
"Resource group enabled. Using resource group answer
files whenever possible",
"Resource group disabled. Using default answer files");
- is_singlenode_mode = check_feature_status("gp_internal_is_singlenode",
"on",
- "Single node (no segments) mode enabled. Replace '@hostname@' by
hostname of contentid = -1",
- "Normal cluster detected. Replace '@hostname@' by hostname of
contentid = 0");
// force_parallel_enabled = check_feature_status("force_parallel_mode",
"on",
// "Force parallel mode enabled. Result diffs will ignore
plans.",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]