From ab47f73fd247bee183b1e8e711b79afb42e8d394 Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Mon, 14 Mar 2022 10:06:21 +0800 Subject: [PATCH] change version to 3.0.0 --- README.md | 2 +- build/script/aarch64_lite_list | 2 +- build/script/gaussdb.ver | 2 +- build/script/x86_64_lite_list | 2 +- cmake/src/build_function.cmake | 2 +- cmake/src/config-in/pg_config.h.in | 2 +- cmake/src/config-in/pg_config_nocheck.h.in | 2 +- configure | 2 +- src/bin/pg_config/pg_config.cpp | 2 +- src/gausskernel/dbmind/tools/components/xtuner/tuner/main.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index cfdbfbeb4..8a2431fa4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ -- [什么是openGauss](#什么是opengauss) +- [什么是openGauss](#什么是openGauss) - [安装](#安装) - [创建配置文件](#创建配置文件) - [初始化安装环境](#初始化安装环境) diff --git a/build/script/aarch64_lite_list b/build/script/aarch64_lite_list index 0116b3ee7..05a5a48e9 100644 --- a/build/script/aarch64_lite_list +++ b/build/script/aarch64_lite_list @@ -921,4 +921,4 @@ ./include/pqcomm.h ./include/pqexpbuffer.h [version] -2.1.0 \ No newline at end of file +3.0.0 \ No newline at end of file diff --git a/build/script/gaussdb.ver b/build/script/gaussdb.ver index 70ec24a8a..b9344a408 100644 --- a/build/script/gaussdb.ver +++ b/build/script/gaussdb.ver @@ -1,2 +1,2 @@ PRODUCT=openGauss -VERSION=2.1.0 \ No newline at end of file +VERSION=3.0.0 \ No newline at end of file diff --git a/build/script/x86_64_lite_list b/build/script/x86_64_lite_list index f9befe131..b51ae6ba9 100644 --- a/build/script/x86_64_lite_list +++ b/build/script/x86_64_lite_list @@ -917,4 +917,4 @@ ./include/pqcomm.h ./include/pqexpbuffer.h [version] -2.1.0 \ No newline at end of file +3.0.0 \ No newline at end of file diff --git a/cmake/src/build_function.cmake b/cmake/src/build_function.cmake index 1ffeb341b..240347069 100755 --- a/cmake/src/build_function.cmake +++ b/cmake/src/build_function.cmake @@ -198,7 +198,7 @@ ENDMACRO(CHECK_CC_ENABLE) function(GET_VERSIONSTR_FROMGIT ret) set(PG_VERSION "9.2.4") - set(OPENGAUSS_VERSION "2.1.0") + set(OPENGAUSS_VERSION "3.0.0") execute_process( COMMAND ${CMAKE_SOURCE_DIR}/${openGauss}/cmake/src/buildfunction.sh --s ${PROJECT_TRUNK_DIR} OUTPUT_VARIABLE GS_VERSION_STR) set(PG_VERSION "${PG_VERSION}" PARENT_SCOPE) diff --git a/cmake/src/config-in/pg_config.h.in b/cmake/src/config-in/pg_config.h.in index d81cdbf1a..6274af926 100755 --- a/cmake/src/config-in/pg_config.h.in +++ b/cmake/src/config-in/pg_config.h.in @@ -714,7 +714,7 @@ #define PGXC_VERSION_NUM /* openGauss version as a number string */ -#define OPENGAUSS_VERSION_NUM_STR "2.1.0" +#define OPENGAUSS_VERSION_NUM_STR "3.0.0" /* A string containing the version number, platform, and C compiler */ #define PG_VERSION_STR "@PG_VERSION_STR@" diff --git a/cmake/src/config-in/pg_config_nocheck.h.in b/cmake/src/config-in/pg_config_nocheck.h.in index 1417752ad..730cba3d7 100755 --- a/cmake/src/config-in/pg_config_nocheck.h.in +++ b/cmake/src/config-in/pg_config_nocheck.h.in @@ -695,7 +695,7 @@ #define PG_VERSION "9.2.4" /* openGauss version as a string */ -#define OPENGAUSS_VERSION "2.1.0" +#define OPENGAUSS_VERSION "3.0.0" /* Gaussdb version as a string*/ #define DEF_GS_VERSION "(GaussDB A 8.0.0 build 21f07aff) compiled at 2020-03-17 10:59:07 commit 7431 last mr 12039 debug" diff --git a/configure b/configure index a1d1a7aa5..293d97ac0 100755 --- a/configure +++ b/configure @@ -2195,7 +2195,7 @@ PACKAGE_VERSION='9.2.4' # Postgres-XC 1.1devel is based on PostgreSQL 9.2.4 PACKAGE_XC_VERSION='1.1' # openGauss is based on PostgreSQL 9.2.4 and it will be the Kernel of GaussDB database -OPENGAUSS_VERSION='2.1.0' +OPENGAUSS_VERSION='3.0.0' cat >>confdefs.h <<_ACEOF #define PG_VERSION "$PACKAGE_VERSION" diff --git a/src/bin/pg_config/pg_config.cpp b/src/bin/pg_config/pg_config.cpp index a5235baf0..a9ad371e0 100644 --- a/src/bin/pg_config/pg_config.cpp +++ b/src/bin/pg_config/pg_config.cpp @@ -295,7 +295,7 @@ static void show_version(int alls) #ifdef ENABLE_MULTIPLE_NODES printf("PostgreSQL 9.2.4\n"); #else - printf("openGauss 2.1.0\n"); + printf("openGauss 3.0.0\n"); #endif } diff --git a/src/gausskernel/dbmind/tools/components/xtuner/tuner/main.py b/src/gausskernel/dbmind/tools/components/xtuner/tuner/main.py index b24eae5a9..2cca6cea8 100644 --- a/src/gausskernel/dbmind/tools/components/xtuner/tuner/main.py +++ b/src/gausskernel/dbmind/tools/components/xtuner/tuner/main.py @@ -29,7 +29,7 @@ from .exceptions import OptionError from .xtuner import procedure_main from . import utils -__version__ = '2.1.0' +__version__ = '3.0.0' __description__ = 'X-Tuner: a self-tuning tool integrated by openGauss.'