插件升级到4.0
This commit is contained in:
@ -111,7 +111,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--3.0.sql
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--4.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--1.0--1.1.sql
|
||||
@ -132,6 +132,12 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/contrib/dolphin)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--3.0--2.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--3.0--4.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--4.0--3.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--2.0--2.0.1.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
|
||||
@ -75,13 +75,15 @@
|
||||
./share/postgresql/extension/spqplugin.control
|
||||
./share/postgresql/extension/spqplugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/whale.control
|
||||
|
||||
@ -34,13 +34,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./share/postgresql/extension/security_plugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -76,13 +76,15 @@
|
||||
./share/postgresql/extension/spqplugin.control
|
||||
./share/postgresql/extension/spqplugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -62,13 +62,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./share/postgresql/extension/security_plugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -75,13 +75,15 @@
|
||||
./share/postgresql/extension/spqplugin.control
|
||||
./share/postgresql/extension/spqplugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/whale.control
|
||||
|
||||
@ -34,13 +34,15 @@
|
||||
./share/postgresql/extension/security_plugin.control
|
||||
./share/postgresql/extension/security_plugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -76,13 +76,15 @@
|
||||
./share/postgresql/extension/spqplugin.control
|
||||
./share/postgresql/extension/spqplugin--1.0.sql
|
||||
./share/postgresql/extension/dolphin.control
|
||||
./share/postgresql/extension/dolphin--3.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0.sql
|
||||
./share/postgresql/extension/dolphin--1.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--1.1--1.0.sql
|
||||
./share/postgresql/extension/dolphin--1.1--2.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--1.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--2.0.sql
|
||||
./share/postgresql/extension/dolphin--3.0--4.0.sql
|
||||
./share/postgresql/extension/dolphin--4.0--3.0.sql
|
||||
./share/postgresql/extension/dolphin--2.0--2.0.1.sql
|
||||
./share/postgresql/extension/dolphin--2.0.1--2.0.sql
|
||||
./share/postgresql/extension/openGauss_expr_dolphin.ir
|
||||
|
||||
@ -75,7 +75,7 @@ bool will_shutdown = false;
|
||||
* NEXT | 92899 | ? | ?
|
||||
*
|
||||
********************************************/
|
||||
const uint32 GRAND_VERSION_NUM = 92926;
|
||||
const uint32 GRAND_VERSION_NUM = 92927;
|
||||
|
||||
/********************************************
|
||||
* 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 '3.0';
|
||||
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 '3.0';
|
||||
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 '4.0';
|
||||
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 '4.0';
|
||||
end if;
|
||||
exit;
|
||||
END LOOP;
|
||||
END$$;
|
||||
Reference in New Issue
Block a user