mirror of https://github.com/citusdata/citus.git
update
parent
3ca3abf7ed
commit
24a0c3d21a
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf
|
|
@ -60,7 +60,7 @@ BEGIN
|
||||||
FROM current_objects c FULL JOIN prev_objects p
|
FROM current_objects c FULL JOIN prev_objects p
|
||||||
ON p.description = c.description
|
ON p.description = c.description
|
||||||
WHERE (p.description is null OR c.description is null)
|
WHERE (p.description is null OR c.description is null)
|
||||||
AND c.description IS DISTINCT FROM 'function any_value(anyelement) anyelement'
|
AND c.description IS DISTINCT FROM 'function any_value(anyelement) anyelement'
|
||||||
AND c.description IS DISTINCT FROM 'function any_value_agg(anyelement,anyelement) anyelement';
|
AND c.description IS DISTINCT FROM 'function any_value_agg(anyelement,anyelement) anyelement';
|
||||||
|
|
||||||
DROP TABLE prev_objects;
|
DROP TABLE prev_objects;
|
||||||
|
@ -765,7 +765,7 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| view citus_shards
|
| view citus_shards
|
||||||
| view public.citus_tables
|
| view public.citus_tables
|
||||||
| view time_partitions
|
| view time_partitions
|
||||||
(68 rows)
|
(82 rows)
|
||||||
|
|
||||||
-- check that we depend on the existence of public schema, and we can not drop it now
|
-- check that we depend on the existence of public schema, and we can not drop it now
|
||||||
DROP SCHEMA public;
|
DROP SCHEMA public;
|
||||||
|
@ -777,7 +777,7 @@ ALTER EXTENSION citus UPDATE TO '9.5-1';
|
||||||
DROP SCHEMA public;
|
DROP SCHEMA public;
|
||||||
ALTER EXTENSION citus UPDATE TO '10.0-4';
|
ALTER EXTENSION citus UPDATE TO '10.0-4';
|
||||||
SELECT * FROM multi_extension.print_extension_changes();
|
SELECT * FROM multi_extension.print_extension_changes();
|
||||||
previous_object | current_object
|
previous_object | current_object
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
type public.citus_tables |
|
type public.citus_tables |
|
||||||
type public.citus_tables[] |
|
type public.citus_tables[] |
|
||||||
|
@ -801,7 +801,7 @@ GRANT ALL ON SCHEMA public TO public;
|
||||||
ALTER EXTENSION citus UPDATE TO '9.5-1';
|
ALTER EXTENSION citus UPDATE TO '9.5-1';
|
||||||
ALTER EXTENSION citus UPDATE TO '10.0-4';
|
ALTER EXTENSION citus UPDATE TO '10.0-4';
|
||||||
SELECT * FROM multi_extension.print_extension_changes();
|
SELECT * FROM multi_extension.print_extension_changes();
|
||||||
previous_object | current_object
|
previous_object | current_object
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
type citus_tables |
|
type citus_tables |
|
||||||
type citus_tables[] |
|
type citus_tables[] |
|
||||||
|
@ -1135,8 +1135,12 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| function worker_drop_shell_table(text) void
|
| function worker_drop_shell_table(text) void
|
||||||
| function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean,boolean,boolean) SETOF record
|
| function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean,boolean,boolean) SETOF record
|
||||||
| table pg_dist_object
|
| table pg_dist_object
|
||||||
|
| type citus_stat_activity
|
||||||
|
| type citus_stat_activity[]
|
||||||
|
| type pg_dist_object
|
||||||
|
| type pg_dist_object[]
|
||||||
| view citus_stat_activity
|
| view citus_stat_activity
|
||||||
(41 rows)
|
(49 rows)
|
||||||
|
|
||||||
-- Test downgrade to 11.0-1 from 11.0-2
|
-- Test downgrade to 11.0-1 from 11.0-2
|
||||||
ALTER EXTENSION citus UPDATE TO '11.0-2';
|
ALTER EXTENSION citus UPDATE TO '11.0-2';
|
||||||
|
@ -1234,6 +1238,14 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
table columnar.chunk_group |
|
table columnar.chunk_group |
|
||||||
table columnar.options |
|
table columnar.options |
|
||||||
table columnar.stripe |
|
table columnar.stripe |
|
||||||
|
type columnar.chunk |
|
||||||
|
type columnar.chunk[] |
|
||||||
|
type columnar.chunk_group |
|
||||||
|
type columnar.chunk_group[] |
|
||||||
|
type columnar.options |
|
||||||
|
type columnar.options[] |
|
||||||
|
type columnar.stripe |
|
||||||
|
type columnar.stripe[] |
|
||||||
| function citus_cleanup_orphaned_resources()
|
| function citus_cleanup_orphaned_resources()
|
||||||
| function citus_copy_shard_placement(bigint,text,integer,text,integer,citus.shard_transfer_mode) void
|
| function citus_copy_shard_placement(bigint,text,integer,text,integer,citus.shard_transfer_mode) void
|
||||||
| function citus_internal_delete_partition_metadata(regclass) void
|
| function citus_internal_delete_partition_metadata(regclass) void
|
||||||
|
@ -1261,12 +1273,27 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| table pg_dist_background_task_depend
|
| table pg_dist_background_task_depend
|
||||||
| table pg_dist_cleanup
|
| table pg_dist_cleanup
|
||||||
| type citus_job_status
|
| type citus_job_status
|
||||||
|
| type citus_job_status[]
|
||||||
|
| type citus_locks
|
||||||
|
| type citus_locks[]
|
||||||
| type citus_task_status
|
| type citus_task_status
|
||||||
|
| type citus_task_status[]
|
||||||
|
| type pg_dist_background_job
|
||||||
|
| type pg_dist_background_job[]
|
||||||
|
| type pg_dist_background_task
|
||||||
|
| type pg_dist_background_task[]
|
||||||
|
| type pg_dist_background_task_depend
|
||||||
|
| type pg_dist_background_task_depend[]
|
||||||
|
| type pg_dist_cleanup
|
||||||
|
| type pg_dist_cleanup[]
|
||||||
| type replication_slot_info
|
| type replication_slot_info
|
||||||
|
| type replication_slot_info[]
|
||||||
| type split_copy_info
|
| type split_copy_info
|
||||||
|
| type split_copy_info[]
|
||||||
| type split_shard_info
|
| type split_shard_info
|
||||||
|
| type split_shard_info[]
|
||||||
| view citus_locks
|
| view citus_locks
|
||||||
(57 rows)
|
(80 rows)
|
||||||
|
|
||||||
-- Test downgrade to 11.1-1 from 11.2-1
|
-- Test downgrade to 11.1-1 from 11.2-1
|
||||||
ALTER EXTENSION citus UPDATE TO '11.2-1';
|
ALTER EXTENSION citus UPDATE TO '11.2-1';
|
||||||
|
@ -1357,7 +1384,8 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| operator family cluster_clock_ops for access method btree
|
| operator family cluster_clock_ops for access method btree
|
||||||
| sequence pg_dist_clock_logical_seq
|
| sequence pg_dist_clock_logical_seq
|
||||||
| type cluster_clock
|
| type cluster_clock
|
||||||
(38 rows)
|
| type cluster_clock[]
|
||||||
|
(39 rows)
|
||||||
|
|
||||||
-- Test downgrade to 11.2-1 from 11.2-2
|
-- Test downgrade to 11.2-1 from 11.2-2
|
||||||
ALTER EXTENSION citus UPDATE TO '11.2-2';
|
ALTER EXTENSION citus UPDATE TO '11.2-2';
|
||||||
|
@ -1399,9 +1427,13 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| function citus_stat_tenants_local_reset() void
|
| function citus_stat_tenants_local_reset() void
|
||||||
| function citus_stat_tenants_reset() void
|
| function citus_stat_tenants_reset() void
|
||||||
| function worker_drop_all_shell_tables(boolean)
|
| function worker_drop_all_shell_tables(boolean)
|
||||||
|
| type citus_stat_tenants
|
||||||
|
| type citus_stat_tenants[]
|
||||||
|
| type citus_stat_tenants_local
|
||||||
|
| type citus_stat_tenants_local[]
|
||||||
| view citus_stat_tenants
|
| view citus_stat_tenants
|
||||||
| view citus_stat_tenants_local
|
| view citus_stat_tenants_local
|
||||||
(11 rows)
|
(15 rows)
|
||||||
|
|
||||||
-- Test downgrade to 11.3-1 from 11.3-2
|
-- Test downgrade to 11.3-1 from 11.3-2
|
||||||
ALTER EXTENSION citus UPDATE TO '11.3-2';
|
ALTER EXTENSION citus UPDATE TO '11.3-2';
|
||||||
|
@ -1456,8 +1488,12 @@ SELECT * FROM multi_extension.print_extension_changes();
|
||||||
| function citus_schema_undistribute(regnamespace) void
|
| function citus_schema_undistribute(regnamespace) void
|
||||||
| function citus_stat_tenants_local_internal(boolean) SETOF record
|
| function citus_stat_tenants_local_internal(boolean) SETOF record
|
||||||
| table pg_dist_schema
|
| table pg_dist_schema
|
||||||
|
| type pg_dist_schema
|
||||||
|
| type pg_dist_schema[]
|
||||||
|
| type public.citus_schemas
|
||||||
|
| type public.citus_schemas[]
|
||||||
| view public.citus_schemas
|
| view public.citus_schemas
|
||||||
(8 rows)
|
(12 rows)
|
||||||
|
|
||||||
-- Test downgrade to 12.0-1 from 12.1-1
|
-- Test downgrade to 12.0-1 from 12.1-1
|
||||||
ALTER EXTENSION citus UPDATE TO '12.1-1';
|
ALTER EXTENSION citus UPDATE TO '12.1-1';
|
||||||
|
@ -1544,11 +1580,15 @@ WHERE pgd.refclassid = 'pg_extension'::regclass AND
|
||||||
pge.extname = 'citus' AND
|
pge.extname = 'citus' AND
|
||||||
pgio.schema NOT IN ('pg_catalog', 'citus', 'citus_internal', 'test', 'columnar', 'columnar_internal')
|
pgio.schema NOT IN ('pg_catalog', 'citus', 'citus_internal', 'test', 'columnar', 'columnar_internal')
|
||||||
ORDER BY 1, 2;
|
ORDER BY 1, 2;
|
||||||
type | identity
|
type | identity
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
type | public.citus_schemas
|
||||||
|
type | public.citus_schemas[]
|
||||||
|
type | public.citus_tables
|
||||||
|
type | public.citus_tables[]
|
||||||
view | public.citus_schemas
|
view | public.citus_schemas
|
||||||
view | public.citus_tables
|
view | public.citus_tables
|
||||||
(2 rows)
|
(6 rows)
|
||||||
|
|
||||||
-- see incompatible version errors out
|
-- see incompatible version errors out
|
||||||
RESET citus.enable_version_checks;
|
RESET citus.enable_version_checks;
|
||||||
|
|
Loading…
Reference in New Issue