pull/7722/head
Mehmet YILMAZ 2024-11-05 11:35:11 +00:00
parent ac16fa288b
commit ddc95844c2
4 changed files with 41 additions and 6 deletions

1
citus-tools Submodule

@ -0,0 +1 @@
Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf

View File

@ -1,3 +1,8 @@
-- Two alternative test outputs:
-- ch_bench_having_mx.out for PG16 and before
-- ch_bench_having_mx_0.out for PG17
-- related commit
-- https://github.com/postgres/postgres/commit/fd0398fc
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1640000; ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1640000;
SET citus.shard_replication_factor to 1; SET citus.shard_replication_factor to 1;
SET citus.shard_count to 4; SET citus.shard_count to 4;

View File

@ -748,6 +748,20 @@ 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 citus_shards
| type citus_shards[]
| 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[]
| type public.citus_tables
| type public.citus_tables[]
| type time_partitions
| type time_partitions[]
| view citus_shards | view citus_shards
| view public.citus_tables | view public.citus_tables
| view time_partitions | view time_partitions
@ -765,9 +779,13 @@ 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
--------------------------------------------------------------------- ---------------------------------------------------------------------
view public.citus_tables | type public.citus_tables |
| view citus_tables type public.citus_tables[] |
(2 rows) view public.citus_tables |
| type citus_tables
| type citus_tables[]
| view citus_tables
(6 rows)
-- recreate public schema, and recreate citus_tables in the public schema by default -- recreate public schema, and recreate citus_tables in the public schema by default
CREATE SCHEMA public; CREATE SCHEMA public;
@ -785,9 +803,13 @@ 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
--------------------------------------------------------------------- ---------------------------------------------------------------------
view citus_tables | type citus_tables |
| view public.citus_tables type citus_tables[] |
(2 rows) view citus_tables |
| type public.citus_tables
| type public.citus_tables[]
| view public.citus_tables
(6 rows)
-- not print "HINT: " to hide current lib version -- not print "HINT: " to hide current lib version
\set VERBOSITY terse \set VERBOSITY terse
@ -1078,6 +1100,10 @@ SELECT * FROM multi_extension.print_extension_changes();
function master_get_table_metadata(text) record | function master_get_table_metadata(text) record |
function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean) SETOF record | function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean) SETOF record |
table citus.pg_dist_object | table citus.pg_dist_object |
type citus.pg_dist_object |
type citus.pg_dist_object[] |
type citus_worker_stat_activity |
type citus_worker_stat_activity[] |
view citus_worker_stat_activity | view citus_worker_stat_activity |
| function citus_backend_gpid() bigint | function citus_backend_gpid() bigint
| function citus_calculate_gpid(integer,integer) bigint | function citus_calculate_gpid(integer,integer) bigint

View File

@ -1,3 +1,6 @@
-- Two alternative test outputs:
-- multi_mx_router_planner.out for PG16 and before
-- multi_mx_router_planner_0.out for PG17
-- =================================================================== -- ===================================================================
-- test router planner functionality for single shard select queries -- test router planner functionality for single shard select queries
-- =================================================================== -- ===================================================================