From 7483eabdb8b6e7d7fccceaee4b08efc0cd7b0a5c Mon Sep 17 00:00:00 2001 From: totaj Date: Wed, 11 Oct 2023 16:05:56 +0800 Subject: [PATCH] Change dolphin version to 1.2 --- build/script/aarch64_opengauss_list | 8 +++++--- build/script/opengauss_release_list_ubuntu_single | 8 +++++--- build/script/x86_64_opengauss_list | 8 +++++--- .../upgrade-post_catalog_maindb_92_850.sql | 4 ++-- .../upgrade-post_catalog_otherdb_92_850.sql | 4 ++-- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/build/script/aarch64_opengauss_list b/build/script/aarch64_opengauss_list index 93abb91ec..5213316ea 100644 --- a/build/script/aarch64_opengauss_list +++ b/build/script/aarch64_opengauss_list @@ -68,9 +68,11 @@ ./share/postgresql/extension/security_plugin--1.0.sql ./share/postgresql/extension/dolphin.control ./share/postgresql/extension/dolphin--1.0.sql -./share/postgresql/extension/dolphin--1.1.sql -./share/postgresql/extension/dolphin--1.0--1.1.sql -./share/postgresql/extension/dolphin--1.1--1.0.sql +./share/postgresql/extension/dolphin--1.2.sql +./share/postgresql/extension/dolphin--1.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--1.0.sql +./share/postgresql/extension/dolphin--2.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--2.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/file_fdw--1.0.sql ./share/postgresql/extension/plpgsql.control diff --git a/build/script/opengauss_release_list_ubuntu_single b/build/script/opengauss_release_list_ubuntu_single index ae6f36ef1..ebee9e73e 100644 --- a/build/script/opengauss_release_list_ubuntu_single +++ b/build/script/opengauss_release_list_ubuntu_single @@ -62,9 +62,11 @@ ./share/postgresql/extension/security_plugin--1.0.sql ./share/postgresql/extension/dolphin.control ./share/postgresql/extension/dolphin--1.0.sql -./share/postgresql/extension/dolphin--1.1.sql -./share/postgresql/extension/dolphin--1.0--1.1.sql -./share/postgresql/extension/dolphin--1.1--1.0.sql +./share/postgresql/extension/dolphin--1.2.sql +./share/postgresql/extension/dolphin--1.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--1.0.sql +./share/postgresql/extension/dolphin--2.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--2.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/file_fdw--1.0.sql ./share/postgresql/extension/plpgsql.control diff --git a/build/script/x86_64_opengauss_list b/build/script/x86_64_opengauss_list index 17ad1c6bc..eeed0592c 100644 --- a/build/script/x86_64_opengauss_list +++ b/build/script/x86_64_opengauss_list @@ -68,9 +68,11 @@ ./share/postgresql/extension/security_plugin--1.0.sql ./share/postgresql/extension/dolphin.control ./share/postgresql/extension/dolphin--1.0.sql -./share/postgresql/extension/dolphin--1.1.sql -./share/postgresql/extension/dolphin--1.0--1.1.sql -./share/postgresql/extension/dolphin--1.1--1.0.sql +./share/postgresql/extension/dolphin--1.2.sql +./share/postgresql/extension/dolphin--1.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--1.0.sql +./share/postgresql/extension/dolphin--2.0--1.2.sql +./share/postgresql/extension/dolphin--1.2--2.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/file_fdw--1.0.sql ./share/postgresql/extension/plpgsql.control diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_850.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_850.sql index 20b7bbbf8..059a483c6 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_850.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_850.sql @@ -5,8 +5,8 @@ BEGIN for ans in select case when count(*)=1 then true else false end as ans from (select extname from pg_extension where extname='dolphin') LOOP if ans = true then - ALTER EXTENSION dolphin UPDATE TO '1.1'; + ALTER EXTENSION dolphin UPDATE TO '1.2'; end if; exit; END LOOP; -END$$; \ No newline at end of file +END$$; diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_850.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_850.sql index 20b7bbbf8..059a483c6 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_850.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_850.sql @@ -5,8 +5,8 @@ BEGIN for ans in select case when count(*)=1 then true else false end as ans from (select extname from pg_extension where extname='dolphin') LOOP if ans = true then - ALTER EXTENSION dolphin UPDATE TO '1.1'; + ALTER EXTENSION dolphin UPDATE TO '1.2'; end if; exit; END LOOP; -END$$; \ No newline at end of file +END$$;