!3803 5.0.1适配dolphin插件升级到1.1
Merge pull request !3803 from chenxiaobin/5.0.0
This commit is contained in:
@ -68,6 +68,9 @@
|
||||
./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/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
./share/postgresql/extension/dist_fdw.control
|
||||
|
||||
@ -62,6 +62,9 @@
|
||||
./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/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
./share/postgresql/extension/dist_fdw.control
|
||||
|
||||
@ -68,6 +68,9 @@
|
||||
./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/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
./share/postgresql/extension/dist_fdw.control
|
||||
|
||||
@ -59,7 +59,7 @@ bool open_join_children = true;
|
||||
bool will_shutdown = false;
|
||||
|
||||
/* hard-wired binary version number */
|
||||
const uint32 GRAND_VERSION_NUM = 92849;
|
||||
const uint32 GRAND_VERSION_NUM = 92850;
|
||||
|
||||
const uint32 SRF_FUSION_VERSION_NUM = 92847;
|
||||
const uint32 INNER_UNIQUE_VERSION_NUM = 92845;
|
||||
|
||||
@ -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.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 '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')
|
||||
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')
|
||||
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