mirror of https://github.com/citusdata/citus.git
test updates
parent
fd66a7dbca
commit
6d63b9c97f
|
@ -3,5 +3,5 @@
|
||||||
\pset border 2
|
\pset border 2
|
||||||
\setenv PAGER 'pspg --no-mouse -bX --no-commandbar --no-topbar'
|
\setenv PAGER 'pspg --no-mouse -bX --no-commandbar --no-topbar'
|
||||||
\set HISTSIZE 100000
|
\set HISTSIZE 100000
|
||||||
\set PROMPT1 '\n%[%033[1m%]%M %n@%/:%>-%p%R%[%033[0m%]%# '
|
\set PROMPT1 '\n%[%033[1m%]%M %n@%/:%> (PID: %p)%R%[%033[0m%]%# '
|
||||||
\set PROMPT2 ' '
|
\set PROMPT2 ' '
|
||||||
|
|
|
@ -103,18 +103,6 @@ RUN mkdir .pgenv-staging/
|
||||||
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
||||||
RUN rm .pgenv-staging/config/default.conf
|
RUN rm .pgenv-staging/config/default.conf
|
||||||
|
|
||||||
FROM base AS pg17
|
|
||||||
RUN MAKEFLAGS="-j $(nproc)" pgenv build 17beta2
|
|
||||||
RUN rm .pgenv/src/*.tar*
|
|
||||||
RUN make -C .pgenv/src/postgresql-*/ clean
|
|
||||||
RUN make -C .pgenv/src/postgresql-*/src/include install
|
|
||||||
|
|
||||||
# create a staging directory with all files we want to copy from our pgenv build
|
|
||||||
# we will copy the contents of the staged folder into the final image at once
|
|
||||||
RUN mkdir .pgenv-staging/
|
|
||||||
RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/
|
|
||||||
RUN rm .pgenv-staging/config/default.conf
|
|
||||||
|
|
||||||
FROM base AS uncrustify-builder
|
FROM base AS uncrustify-builder
|
||||||
|
|
||||||
RUN sudo apt update && sudo apt install -y cmake tree
|
RUN sudo apt update && sudo apt install -y cmake tree
|
||||||
|
|
|
@ -58,3 +58,6 @@ lib*.pc
|
||||||
|
|
||||||
# added output when modifying check_gucs_are_alphabetically_sorted.sh
|
# added output when modifying check_gucs_are_alphabetically_sorted.sh
|
||||||
guc.out
|
guc.out
|
||||||
|
|
||||||
|
mehmet*
|
||||||
|
*_logfile
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
Loading…
Reference in New Issue