don't reuse the parameter VERSION but OPENGAUSS_VERSION

This commit is contained in:
wangtq
2022-06-22 15:41:37 +08:00
parent 472a7d66ff
commit 435c55bb1e

View File

@ -292,9 +292,11 @@ static void show_version(int alls)
if (alls) { if (alls) {
printf("VERSION = "); printf("VERSION = ");
} }
#ifdef ENABLE_MULTIPLE_NODES
printf("PostgreSQL 9.2.4\n"); printf("PostgreSQL 9.2.4\n");
#else #ifdef ENABLE_MULTIPLE_NODES
if (alls) {
printf("OPENGAUSS_VERSION = ");
}
printf("openGauss 3.0.0\n"); printf("openGauss 3.0.0\n");
#endif #endif
} }