diff --git a/build/script/aarch64_finance_list b/build/script/aarch64_finance_list index 7d356ff79c0303d68fdeb2774e45ae60f0680cb8..86a1751c5828de24bb70229ff08494150b27662e 100644 --- a/build/script/aarch64_finance_list +++ b/build/script/aarch64_finance_list @@ -92,6 +92,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/whale.control ./share/postgresql/extension/whale--1.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir diff --git a/build/script/aarch64_lite_list b/build/script/aarch64_lite_list index 1d1730bf8373e332ba06ad333d08fb3162f3c530..a1ae1e5ba2d2546e57dc329655ec74d1ac22147a 100644 --- a/build/script/aarch64_lite_list +++ b/build/script/aarch64_lite_list @@ -49,6 +49,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/gms_compress--1.0.sql ./share/postgresql/extension/gms_compress.control ./share/postgresql/extension/openGauss_expr_dolphin.ir diff --git a/build/script/aarch64_opengauss_list b/build/script/aarch64_opengauss_list index 1c7d0bcf97a9f189e6a301014b9f6a106b290989..2f03caeef199c146cca0f12804a0e7e8bec02edb 100644 --- a/build/script/aarch64_opengauss_list +++ b/build/script/aarch64_opengauss_list @@ -95,6 +95,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/age--1.0.0.sql ./share/postgresql/extension/age.control diff --git a/build/script/opengauss_release_list_ubuntu_single b/build/script/opengauss_release_list_ubuntu_single index 3069813631b31c6b77b98eaabc1dd06d31624ac1..4b17bb4c1dea09562762a1274a217e7b21873f5f 100644 --- a/build/script/opengauss_release_list_ubuntu_single +++ b/build/script/opengauss_release_list_ubuntu_single @@ -79,6 +79,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/age--1.0.0.sql ./share/postgresql/extension/age.control diff --git a/build/script/x86_64_finance_list b/build/script/x86_64_finance_list index b9fefccb93aba0b987259c71d393d79449e25312..dd8c0a52f139f695a3f460485a5de98331ec6d6a 100644 --- a/build/script/x86_64_finance_list +++ b/build/script/x86_64_finance_list @@ -92,6 +92,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/whale.control ./share/postgresql/extension/whale--1.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir diff --git a/build/script/x86_64_lite_list b/build/script/x86_64_lite_list index 037b477e51b98c62351d79184ad3d1c13c6532e3..776384a26344f2b908bb8c11ac20d5fd162f8fce 100644 --- a/build/script/x86_64_lite_list +++ b/build/script/x86_64_lite_list @@ -49,6 +49,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/gms_compress--1.0.sql ./share/postgresql/extension/gms_compress.control ./share/postgresql/extension/openGauss_expr_dolphin.ir diff --git a/build/script/x86_64_opengauss_list b/build/script/x86_64_opengauss_list index 4e7775a4e58c830a064bbb8178e5c7a18bab24ea..1a7a32a36d21d1cef18e34ddaebe086beba0ca24 100644 --- a/build/script/x86_64_opengauss_list +++ b/build/script/x86_64_opengauss_list @@ -93,6 +93,8 @@ ./share/postgresql/extension/dolphin--2.0.1--2.0.sql ./share/postgresql/extension/dolphin--4.0--4.0.1.sql ./share/postgresql/extension/dolphin--4.0.1--4.0.sql +./share/postgresql/extension/dolphin--4.0--4.1.sql +./share/postgresql/extension/dolphin--4.1--4.0.sql ./share/postgresql/extension/openGauss_expr_dolphin.ir ./share/postgresql/extension/age--1.0.0.sql ./share/postgresql/extension/age.control diff --git a/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback-post_catalog_maindb_92_955.sql b/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback-post_catalog_maindb_92_955.sql new file mode 100644 index 0000000000000000000000000000000000000000..9f5910a10deb292a676e9030686556b597f81625 --- /dev/null +++ b/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback-post_catalog_maindb_92_955.sql @@ -0,0 +1,12 @@ +do $$ +DECLARE +ans boolean; +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 '4.0'; + end if; + exit; + END LOOP; +END$$; \ No newline at end of file diff --git a/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_955.sql b/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_955.sql new file mode 100644 index 0000000000000000000000000000000000000000..9f5910a10deb292a676e9030686556b597f81625 --- /dev/null +++ b/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_955.sql @@ -0,0 +1,12 @@ +do $$ +DECLARE +ans boolean; +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 '4.0'; + end if; + exit; + END LOOP; +END$$; \ No newline at end of file diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_955.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_955.sql new file mode 100644 index 0000000000000000000000000000000000000000..b33aabd0d7f363d5a47aed9b666fa59a4ded77f3 --- /dev/null +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_955.sql @@ -0,0 +1,12 @@ +do $$ +DECLARE +ans boolean; +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 '4.1'; + end if; + exit; + END LOOP; +END$$; \ No newline at end of file diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_955.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_955.sql new file mode 100644 index 0000000000000000000000000000000000000000..b33aabd0d7f363d5a47aed9b666fa59a4ded77f3 --- /dev/null +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_955.sql @@ -0,0 +1,12 @@ +do $$ +DECLARE +ans boolean; +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 '4.1'; + end if; + exit; + END LOOP; +END$$; \ No newline at end of file