修复sum(int)性能较差的问题
This commit is contained in:
@ -150,6 +150,12 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/contrib/dolphin)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--4.0.1--4.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--4.0--4.1.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/dolphin--4.1--4.0.sql
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/contrib/dolphin/openGauss_expr_dolphin.ir
|
||||
DESTINATION share/postgresql/extension/
|
||||
)
|
||||
|
||||
@ -89,6 +89,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
|
||||
|
||||
@ -47,6 +47,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/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
|
||||
@ -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/openGauss_expr_dolphin.ir
|
||||
./share/postgresql/extension/age--1.0.0.sql
|
||||
./share/postgresql/extension/age.control
|
||||
|
||||
@ -77,6 +77,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
|
||||
|
||||
@ -89,6 +89,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
|
||||
|
||||
@ -47,6 +47,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/file_fdw--1.0.sql
|
||||
./share/postgresql/extension/plpgsql.control
|
||||
|
||||
@ -90,6 +90,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
|
||||
|
||||
@ -76,7 +76,7 @@ bool will_shutdown = false;
|
||||
*
|
||||
********************************************/
|
||||
|
||||
const uint32 GRAND_VERSION_NUM = 92954;
|
||||
const uint32 GRAND_VERSION_NUM = 92955;
|
||||
|
||||
/********************************************
|
||||
* 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 '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$$;
|
||||
@ -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$$;
|
||||
@ -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$$;
|
||||
Reference in New Issue
Block a user