don't reuse the parameter VERSION but OPENGAUSS_VERSION
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user