插件升级1.3版本
This commit is contained in:
@ -102,10 +102,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/contrib/dolphin)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin.control
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--1.2.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--1.0.sql
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--1.3.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/upgrade_script/dolphin--1.0--1.2.sql
|
||||
@ -114,10 +111,22 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/contrib/dolphin)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/rollback_script/dolphin--1.2--1.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/upgrade_script/dolphin--1.2--2.0.sql
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/upgrade_script/dolphin--1.2--1.3.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/rollback_script/dolphin--2.0--1.2.sql
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/rollback_script/dolphin--1.3--1.2.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/upgrade_script/dolphin--1.3--2.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/rollback_script/dolphin--2.0--1.3.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/upgrade_script/dolphin--2.0--3.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/rollback_script/dolphin--3.0--2.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -70,12 +70,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./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.2.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/assessment--1.0.sql
|
||||
./share/postgresql/extension/assessment.control
|
||||
|
||||
@ -33,12 +33,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./share/postgresql/extension/security_plugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--1.2.sql
|
||||
./share/postgresql/extension/dolphin--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
|
||||
@ -71,12 +71,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./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.2.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/assessment--1.0.sql
|
||||
./share/postgresql/extension/assessment.control
|
||||
|
||||
@ -61,12 +61,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./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.2.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
|
||||
@ -70,12 +70,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./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.2.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/assessment--1.0.sql
|
||||
./share/postgresql/extension/assessment.control
|
||||
|
||||
@ -33,12 +33,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./share/postgresql/extension/security_plugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--1.2.sql
|
||||
./share/postgresql/extension/dolphin--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
|
||||
@ -71,12 +71,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./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.2.sql
|
||||
./share/postgresql/extension/dolphin--1.3.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/dolphin--1.2--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--1.2.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.3.sql
|
||||
./share/postgresql/extension/dolphin--1.3--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/assessment--1.0.sql
|
||||
./share/postgresql/extension/assessment.control
|
||||
|
||||
@ -74,7 +74,7 @@ bool will_shutdown = false;
|
||||
* NEXT | 92899 | ? | ?
|
||||
*
|
||||
********************************************/
|
||||
const uint32 GRAND_VERSION_NUM = 92854;
|
||||
const uint32 GRAND_VERSION_NUM = 92855;
|
||||
|
||||
/********************************************
|
||||
* 2.VERSION NUM FOR EACH FEATURE
|
||||
|
||||
@ -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 '1.2';
|
||||
end if;
|
||||
exit;
|
||||
END LOOP;
|
||||
END$$;
|
||||
@ -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 '1.2';
|
||||
end if;
|
||||
exit;
|
||||
END LOOP;
|
||||
END$$;
|
||||
@ -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 '1.3';
|
||||
end if;
|
||||
exit;
|
||||
END LOOP;
|
||||
END$$;
|
||||
@ -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 '1.3';
|
||||
end if;
|
||||
exit;
|
||||
END LOOP;
|
||||
END$$;
|
||||
Reference in New Issue
Block a user