Delete PG version_above_ten alternative test outputs (#6111)

pull/6110/head
Naisila Puka 2022-08-01 14:32:36 +03:00 committed by GitHub
parent 0a04b115aa
commit f9b02946b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 1300 deletions

View File

@ -5,7 +5,6 @@
/multi_agg_distinct.out
/multi_agg_type_conversion.out
/multi_alter_table_statements.out
/multi_alter_table_statements_0.out
/multi_behavioral_analytics_create_table.out
/multi_behavioral_analytics_create_table_superuser.out
/multi_complex_count_distinct.out
@ -14,7 +13,6 @@
/multi_load_data_superuser.out
/multi_load_more_data.out
/multi_multiuser_load_data.out
/multi_multiuser_load_data_0.out
/multi_mx_copy_data.out
/multi_outer_join.out
/multi_outer_join_reference.out

View File

@ -2,10 +2,6 @@
-- MULTI_ALTER_TABLE_STATEMENTS
--
-- this test has different output per version
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int > 10 AS version_above_ten;
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 220000;

View File

@ -8,9 +8,6 @@
-- the shard placement policy to the local-node-first policy as other regression
-- tests expect the placements to be in that order.
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int > 10 AS version_above_ten;
SET citusdb.shard_placement_policy TO 'local-node-first';
-- load as superuser

View File

@ -1,14 +1,6 @@
--
-- MULTI_ALTER_TABLE_STATEMENTS
--
-- this test has different output per version
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int > 10 AS version_above_ten;
version_above_ten
-------------------
t
(1 row)
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 220000;
-- Check that we can run ALTER TABLE statements on distributed tables.
-- We set the shardid sequence here so that the shardids in this test

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,6 @@
-- citusdb.shard_max_size. These values are manually set in pg_regress.c. We also set
-- the shard placement policy to the local-node-first policy as other regression
-- tests expect the placements to be in that order.
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int > 10 AS version_above_ten;
version_above_ten
-------------------
t
(1 row)
SET citusdb.shard_placement_policy TO 'local-node-first';
-- load as superuser
\copy lineitem FROM '@abs_srcdir@/data/lineitem.1.data' with delimiter '|'

View File

@ -1,39 +0,0 @@
--
-- MULTI_MULTIUSER_LOAD_DATA
--
-- Tests for loading data in a distributed cluster. Please note that the number
-- of shards uploaded depends on two config values: citusdb.shard_replication_factor and
-- citusdb.shard_max_size. These values are manually set in pg_regress.c. We also set
-- the shard placement policy to the local-node-first policy as other regression
-- tests expect the placements to be in that order.
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int > 10 AS version_above_ten;
version_above_ten
-------------------
f
(1 row)
SET citusdb.shard_placement_policy TO 'local-node-first';
-- load as superuser
\copy lineitem FROM '@abs_srcdir@/data/lineitem.1.data' with delimiter '|'
-- as user with ALL access
SET ROLE full_access;
\copy lineitem FROM '@abs_srcdir@/data/lineitem.2.data' with delimiter '|'
RESET ROLE;
-- as user with SELECT access, should fail
SET ROLE read_access;
\copy lineitem FROM '@abs_srcdir@/data/lineitem.2.data' with delimiter '|'
ERROR: permission denied for relation lineitem
RESET ROLE;
-- as user with no access, should fail
SET ROLE no_access;
\copy lineitem FROM '@abs_srcdir@/data/lineitem.2.data' with delimiter '|'
ERROR: permission denied for relation lineitem
RESET ROLE;
SET ROLE full_access;
\copy orders FROM '@abs_srcdir@/data/orders.1.data' with delimiter '|'
\copy orders FROM '@abs_srcdir@/data/orders.2.data' with delimiter '|'
\copy customer FROM '@abs_srcdir@/data/customer.1.data' with delimiter '|'
\copy nation FROM '@abs_srcdir@/data/nation.data' with delimiter '|'
\copy part FROM '@abs_srcdir@/data/part.data' with delimiter '|'
\copy supplier FROM '@abs_srcdir@/data/supplier.data' with delimiter '|'