!3373 支持dolphin升级
Merge pull request !3373 from chenxiaobin/dolphinUpgrade
This commit is contained in:
@ -68,6 +68,9 @@
|
|||||||
./share/postgresql/extension/security_plugin--1.0.sql
|
./share/postgresql/extension/security_plugin--1.0.sql
|
||||||
./share/postgresql/extension/dolphin.control
|
./share/postgresql/extension/dolphin.control
|
||||||
./share/postgresql/extension/dolphin--1.0.sql
|
./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/file_fdw--1.0.sql
|
./share/postgresql/extension/file_fdw--1.0.sql
|
||||||
./share/postgresql/extension/plpgsql.control
|
./share/postgresql/extension/plpgsql.control
|
||||||
./share/postgresql/extension/dist_fdw.control
|
./share/postgresql/extension/dist_fdw.control
|
||||||
|
@ -62,6 +62,9 @@
|
|||||||
./share/postgresql/extension/security_plugin--1.0.sql
|
./share/postgresql/extension/security_plugin--1.0.sql
|
||||||
./share/postgresql/extension/dolphin.control
|
./share/postgresql/extension/dolphin.control
|
||||||
./share/postgresql/extension/dolphin--1.0.sql
|
./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/file_fdw--1.0.sql
|
./share/postgresql/extension/file_fdw--1.0.sql
|
||||||
./share/postgresql/extension/plpgsql.control
|
./share/postgresql/extension/plpgsql.control
|
||||||
./share/postgresql/extension/dist_fdw.control
|
./share/postgresql/extension/dist_fdw.control
|
||||||
|
@ -68,6 +68,9 @@
|
|||||||
./share/postgresql/extension/security_plugin--1.0.sql
|
./share/postgresql/extension/security_plugin--1.0.sql
|
||||||
./share/postgresql/extension/dolphin.control
|
./share/postgresql/extension/dolphin.control
|
||||||
./share/postgresql/extension/dolphin--1.0.sql
|
./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/file_fdw--1.0.sql
|
./share/postgresql/extension/file_fdw--1.0.sql
|
||||||
./share/postgresql/extension/plpgsql.control
|
./share/postgresql/extension/plpgsql.control
|
||||||
./share/postgresql/extension/dist_fdw.control
|
./share/postgresql/extension/dist_fdw.control
|
||||||
|
@ -75,7 +75,7 @@ bool will_shutdown = false;
|
|||||||
* NEXT | 92899 | ? | ?
|
* NEXT | 92899 | ? | ?
|
||||||
*
|
*
|
||||||
********************************************/
|
********************************************/
|
||||||
const uint32 GRAND_VERSION_NUM = 92898;
|
const uint32 GRAND_VERSION_NUM = 92899;
|
||||||
|
|
||||||
/********************************************
|
/********************************************
|
||||||
* 2.VERSION NUM FOR EACH FEATURE
|
* 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' and extversion = '1.1')
|
||||||
|
LOOP
|
||||||
|
if ans = true then
|
||||||
|
ALTER EXTENSION dolphin UPDATE TO '1.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' and extversion = '1.1')
|
||||||
|
LOOP
|
||||||
|
if ans = true then
|
||||||
|
ALTER EXTENSION dolphin UPDATE TO '1.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' and extversion = '1.0')
|
||||||
|
LOOP
|
||||||
|
if ans = true then
|
||||||
|
ALTER EXTENSION dolphin UPDATE TO '1.1';
|
||||||
|
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' and extversion = '1.0')
|
||||||
|
LOOP
|
||||||
|
if ans = true then
|
||||||
|
ALTER EXTENSION dolphin UPDATE TO '1.1';
|
||||||
|
end if;
|
||||||
|
exit;
|
||||||
|
END LOOP;
|
||||||
|
END$$;
|
Reference in New Issue
Block a user