citus/src/test/regress/sql
Jelte Fennema-Nio bac95cc523 Greatly speed up "\d tablename" on servers with many tables (#7577)
DESCRIPTION: Fix performance issue when using "\d tablename" on a server
with many tables

We introduce a filter to every query on pg_class to automatically remove
shards. This is useful to make sure \d and PgAdmin are not cluttered
with shards. However, the way we were introducing this filter was using
`securityQuals` which can have negative impact on query performance.

On clusters with 100k+ tables this could cause a simple "\d tablename"
command to take multiple seconds, because a skipped optimization by
Postgres causes a full table scan. This changes the code to introduce
this filter in the regular `quals` list instead of in `securityQuals`.
Which causes Postgres to use the intended optimization again.

For reference, this was initially reported as a Postgres issue by me:

https://www.postgresql.org/message-id/flat/4189982.1712785863%40sss.pgh.pa.us#b87421293b362d581ea8677e3bfea920
(cherry picked from commit a0151aa31d)
2024-04-17 10:26:50 +02:00
..
adaptive_executor.sql
adaptive_executor_repartition.sql Make citus_stat_tenants work with schema-based tenants. (#6936) 2023-06-13 14:11:45 +03:00
add_coordinator.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
adv_lock_permission.sql
aggregate_support.sql Do not override combinefunc of custom aggregates with common names (#6805) 2023-04-03 19:43:09 +02:00
alter_database_owner.sql
alter_database_propagation.sql Adds alter database propagation - with and refresh collation (#7172) 2023-09-12 14:09:15 +03:00
alter_distributed_table.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
alter_index.sql
alter_role_propagation.sql Fixes empty password issue (#6417) 2022-10-11 15:56:44 +03:00
alter_table_add_column.sql Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-04-17 10:26:50 +02:00
alter_table_set_access_method.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
alter_table_single_shard_table.sql Call null-shard-key tables as single-shard distributed tables in code 2023-05-03 17:02:43 +03:00
anonymous_columns.sql
arbitrary_configs_alter_table_add_constraint_without_name.sql Enable PRIMARY KEY generation via ALTER TABLE even if the constraint name is not provided (#6520) 2022-12-16 20:34:00 +03:00
arbitrary_configs_alter_table_add_constraint_without_name_create.sql Enable PRIMARY KEY generation via ALTER TABLE even if the constraint name is not provided (#6520) 2022-12-16 20:34:00 +03:00
arbitrary_configs_recurring_outer_join.sql Add new regression tests 2022-12-07 18:27:50 +03:00
arbitrary_configs_router.sql Add an arbitrary config test heavily based on multi_router_planner_fast_path.sql (#6782) 2023-03-22 10:49:08 +03:00
arbitrary_configs_router_create.sql Add an arbitrary config test heavily based on multi_router_planner_fast_path.sql (#6782) 2023-03-22 10:49:08 +03:00
arbitrary_configs_truncate.sql
arbitrary_configs_truncate_cascade.sql Not undistribute Citus local table when converting it to a reference table / single-shard table 2023-08-29 12:57:28 +03:00
arbitrary_configs_truncate_cascade_create.sql
arbitrary_configs_truncate_create.sql
arbitrary_configs_truncate_partition.sql
arbitrary_configs_truncate_partition_create.sql
auto_undist_citus_local.sql Add support for schema-based-sharding via a GUC (#6866) 2023-05-26 10:49:58 +03:00
background_rebalance.sql Run replicate_reference_tables background task as superuser. (#6930) 2023-05-18 23:46:32 +03:00
background_rebalance_parallel.sql Remove flaky rebalance plan from test (#6990) 2023-06-09 15:59:30 +03:00
background_task_queue_monitor.sql Adds control for background task executors involving a node (#6771) 2023-04-06 14:12:39 +03:00
base_enable_mx.sql
binary_protocol.sql
bool_agg.sql
ch_bench_having.sql
ch_bench_having_mx.sql
ch_bench_subquery_repartition.sql
ch_benchmarks_1.sql
ch_benchmarks_2.sql
ch_benchmarks_3.sql
ch_benchmarks_4.sql
ch_benchmarks_5.sql
ch_benchmarks_6.sql
ch_benchmarks_create_load.sql
chbenchmark_all_queries.sql
check_cluster_state.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
check_mx.sql
citus_copy_shard_placement.sql Introduce citus_copy_shard_placement UDF with nodeid 2023-01-12 16:57:51 +03:00
citus_depended_object.sql
citus_drain_node.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
citus_local_dist_joins.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
citus_local_table_triggers.sql Retain trigger settings when re-creating the triggers (on shards) (#6398) 2022-10-06 14:51:07 +03:00
citus_local_tables.sql Allow plain pg foreign tables without a table_name option (#6652) 2023-01-27 16:34:11 +03:00
citus_local_tables_ent.sql
citus_local_tables_mx.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
citus_local_tables_queries.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
citus_local_tables_queries_mx.sql Phase - I: recursively plan non-recurring relations 2022-12-07 18:27:50 +03:00
citus_locks.sql
citus_non_blocking_split_columnar.sql Wait for cleanup function (#6549) 2022-12-08 13:19:25 +03:00
citus_non_blocking_split_shard_cleanup.sql Wait for cleanup function (#6549) 2022-12-08 13:19:25 +03:00
citus_non_blocking_split_shards.sql Exclude-Generated-Columns-In-Copy (#6721) 2023-03-07 18:15:50 +03:00
citus_run_command.sql
citus_schema_distribute_undistribute.sql Rename pg_dist tenant_schema to pg_dist_schema (#7001) 2023-06-14 12:12:15 +03:00
citus_schema_move.sql Add citus_schema_move() function (#7180) 2023-09-08 12:03:53 +03:00
citus_split_shard_by_split_points.sql Exclude-Generated-Columns-In-Copy (#6721) 2023-03-07 18:15:50 +03:00
citus_split_shard_by_split_points_deferred_drop.sql Fix flakyness in citus_split_shard_by_split_points_deferred_drop (#6819) 2023-04-04 09:45:48 +02:00
citus_split_shard_by_split_points_failure.sql Drop cleanup on failure (#6584) 2022-12-28 15:48:44 +03:00
citus_split_shard_by_split_points_negative.sql
citus_split_shard_columnar_partitioned.sql Wait for cleanup function (#6549) 2022-12-08 13:19:25 +03:00
citus_stat_tenants.sql Add locking mechanism for tenant monitoring probabilistic approach (#7026) 2023-07-03 13:08:03 +03:00
citus_table_triggers.sql
citus_update_table_statistics.sql
clock.sql Fix the flaky test in clock.sql 2022-12-07 09:47:35 -08:00
columnar_alter.sql
columnar_alter_set_type.sql [Columnar] Bugfix for Columnar: options ignored during ALTER TABLE rewrite (#6337) 2022-10-05 11:42:09 -07:00
columnar_analyze.sql
columnar_chunk_filtering.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
columnar_citus_integration.sql
columnar_clean.sql
columnar_copyto.sql
columnar_create.sql PG16 compatibility: Resolve compilation issues (#7005) 2023-07-21 14:32:37 +03:00
columnar_cursor.sql
columnar_data_types.sql
columnar_drop.sql
columnar_empty.sql
columnar_fallback_scan.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
columnar_first_row_number.sql
columnar_indexes.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
columnar_insert.sql
columnar_join.sql
columnar_load.sql
columnar_lz4.sql
columnar_matview.sql
columnar_memory.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
columnar_partitioning.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
columnar_paths.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
columnar_permissions.sql Fix flaky clolumnar_permissions test (#6913) 2023-05-09 12:42:37 +02:00
columnar_pg15.sql
columnar_query.sql
columnar_recursive.sql
columnar_rollback.sql
columnar_tableoptions.sql
columnar_test_helpers.sql Stabilize test helper sql files 2023-07-06 10:47:41 +03:00
columnar_transactions.sql
columnar_trigger.sql
columnar_truncate.sql
columnar_types_without_comparison.sql
columnar_update_delete.sql
columnar_vacuum.sql
columnar_zstd.sql
connectivity_checks.sql
coordinator_evaluation.sql Prevent crashes on update with returning clauses (#6643) 2023-01-24 20:07:43 +03:00
coordinator_evaluation_modify.sql
coordinator_evaluation_select.sql
coordinator_shouldhaveshards.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
cpu_priority.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
create_citus_local_table_cascade.sql
create_distributed_table_concurrently.sql Make sure to disallow creating a replicated distributed table concurrently (#7219) 2023-10-24 14:04:37 +03:00
create_ref_dist_from_citus_local.sql Not undistribute Citus local table when converting it to a reference table / single-shard table 2023-08-29 12:57:28 +03:00
create_role_propagation.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
create_single_shard_table.sql Fix DROP CONSTRAINT in command string with other commands (#7012) 2023-06-16 15:54:37 +02:00
cross_join.sql Phase - I: recursively plan non-recurring relations 2022-12-07 18:27:50 +03:00
cte_inline.sql Phase - II: recursively plan non-recurring subqueries too 2022-12-07 18:27:50 +03:00
cte_nested_modification.sql
cte_prepared_modify.sql
cursors.sql
custom_aggregate_support.sql
data_types.sql
detect_conn_close.sql Detect remotely closed sockets and add a single connection retry in the executor (#6404) 2022-10-14 15:08:49 +02:00
disable_object_propagation.sql
distributed_collations.sql
distributed_collations_conflict.sql
distributed_domain.sql Fixes visibility problems with dependency propagation (#7028) 2023-09-05 18:04:16 +03:00
distributed_functions.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
distributed_functions_conflict.sql
distributed_intermediate_results.sql
distributed_locks.sql
distributed_planning.sql
distributed_planning_create_load.sql
distributed_procedure.sql
distributed_triggers.sql Make sure to disallow triggers that depend on extensions (#6399) 2022-11-02 16:27:31 +03:00
distributed_types.sql Grammar: it's to its 2022-11-28 20:43:44 +00:00
distributed_types_conflict.sql
distributed_types_xact_add_enum_value.sql
dml_recursive.sql
drop_column_partitioned_table.sql
drop_database.sql Stop background daemon before dropping the database (#6688) 2023-02-03 15:15:44 +03:00
drop_partitioned_table.sql
dropped_columns_1.sql
dropped_columns_create_load.sql
ensure_no_intermediate_data_leak.sql
ensure_no_shared_connection_leak.sql
escape_extension_name.sql
executor_local_failure.sql Improve failure handling of distributed execution (#7090) 2023-08-01 16:47:59 +03:00
expression_reference_join.sql
failure_add_disable_node.sql fix 3 flaky tests in failure schedule (#6846) 2023-04-13 13:13:28 +03:00
failure_connection_establishment.sql
failure_copy_on_hash.sql
failure_copy_to_reference.sql
failure_create_distributed_table_concurrently.sql fix 3 flaky tests in failure schedule (#6846) 2023-04-13 13:13:28 +03:00
failure_create_distributed_table_non_empty.sql Fix flakyness in failure_create_distributed_table_non_empty (#6708) 2023-02-10 09:55:12 +01:00
failure_create_index_concurrently.sql
failure_create_reference_table.sql
failure_create_table.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
failure_cte_subquery.sql
failure_ddl.sql
failure_distributed_results.sql
failure_failover_to_local_execution.sql
failure_insert_select_pushdown.sql
failure_insert_select_repartition.sql
failure_insert_select_via_coordinator.sql
failure_multi_dml.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_multi_row_insert.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_multi_shard_update_delete.sql
failure_mx_metadata_sync.sql
failure_mx_metadata_sync_multi_trans.sql break sequence dependency during table creation (#6889) 2023-04-28 15:09:09 +03:00
failure_offline_move_shard_placement.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
failure_on_create_subscription.sql Log username in the failed connection message (#7432) 2024-04-17 10:26:50 +02:00
failure_online_move_shard_placement.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
failure_parallel_connection.sql
failure_ref_tables.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_replicated_partitions.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_savepoints.sql
failure_setup.sql
failure_single_mod.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_single_select.sql Multi tenant monitoring (#6725) 2023-04-05 17:44:17 +03:00
failure_split_cleanup.sql Wait for cleanup function (#6549) 2022-12-08 13:19:25 +03:00
failure_tenant_isolation.sql Drop defer drop gucs (#6447) 2022-10-25 16:48:34 +03:00
failure_tenant_isolation_nonblocking.sql Wait for cleanup function (#6549) 2022-12-08 13:19:25 +03:00
failure_test_helpers.sql Stabilize test helper sql files 2023-07-06 10:47:41 +03:00
failure_truncate.sql
failure_vacuum.sql
fast_path_router_modify.sql
fkeys_between_local_ref.sql Deparse ALTER TABLE commands if ADD COLUMN is the only subcommand 2023-07-12 18:17:47 +03:00
follower_single_node.sql
forcedelegation_functions.sql
foreign_key_restriction_enforcement.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
foreign_key_to_reference_shard_rebalance.sql Fix the incorrect column count after ALTER TABLE, this fixes the bug #7378 (please read the analysis in the bug for more information) 2024-01-24 11:48:06 -08:00
foreign_key_to_reference_table.sql
foreign_tables_mx.sql Adds test for COPY FROM failure in Citus foreign tables (#7160) 2023-09-01 12:20:07 +03:00
function_create.sql
function_propagation.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
function_with_case_when.sql Fix segfault when using certain DO block in function (#7554) 2024-04-17 10:26:50 +02:00
functions.sql
generated_identity.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
geqo.sql
global_cancel.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
grant_on_database_propagation.sql Adds grant/revoke privileges on database propagation (#7109) 2023-08-24 14:43:19 +03:00
grant_on_foreign_server_propagation.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
grant_on_function_propagation.sql
grant_on_schema_propagation.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
grant_on_sequence_propagation.sql
having_subquery.sql
hyperscale_tutorial.sql
index_create.sql
insert_select_connection_leak.sql
insert_select_into_local_table.sql
insert_select_repartition.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
insert_select_single_shard_table.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
intermediate_result_pruning.sql
intermediate_result_pruning_create.sql
intermediate_result_pruning_queries_1.sql
intermediate_result_pruning_queries_2.sql
intermediate_results.sql Adds grant/revoke privileges on database propagation (#7109) 2023-08-24 14:43:19 +03:00
issue_5099.sql
issue_5248.sql
issue_5763.sql fix the problem #5763 (#6519) 2022-12-02 13:49:32 +01:00
issue_6543.sql Fix regression in allowed foreign keys on distributed tables (#6550) 2023-01-24 16:09:21 +03:00
issue_6592.sql Fix crash when trying to replicate a ref table that is actually dropped (#6595) 2023-01-06 14:52:08 +03:00
issue_6758.sql skip restriction clause if it contains placeholdervar (#6857) 2023-04-17 18:14:01 +03:00
issue_7477.sql Change the order in which the locks are acquired (#7542) 2024-04-17 10:26:50 +02:00
join_pushdown.sql
limit_intermediate_size.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
local_dist_join.sql fix multi level recursive plan (#6650) 2023-01-27 21:25:04 +03:00
local_dist_join_load.sql
local_dist_join_mixed.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
local_dist_join_modifications.sql
local_shard_copy.sql Deprecate citus.replicate_reference_tables_on_activate, make it always off (#6474) 2022-11-04 16:21:10 +01:00
local_shard_execution.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
local_shard_execution_dropped_column.sql
local_shard_execution_replicated.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
local_shard_utility_command_execution.sql
local_table_join.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
locally_execute_intermediate_results.sql
logical_rep_consistency.sql
logical_replication.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
materialized_view.sql
merge.sql In the MERGE join clause, there is a datatype mismatch between target's distribution column 2023-07-27 16:06:00 -07:00
merge_arbitrary.sql This pull request introduces support for nonroutable merge commands in the following scenarios: 2023-06-19 12:23:40 -07:00
merge_arbitrary_create.sql This pull request introduces support for nonroutable merge commands in the following scenarios: 2023-06-19 12:23:40 -07:00
merge_partition_tables.sql This pull request introduces support for nonroutable merge commands in the following scenarios: 2023-06-19 12:23:40 -07:00
merge_repartition1.sql Fixes the bug#6785 2023-06-22 10:44:45 -07:00
merge_repartition2.sql This pull request introduces support for nonroutable merge commands in the following scenarios: 2023-06-19 12:23:40 -07:00
merge_schema_sharding.sql Isolate schema sharding/MERGE tests into a new file, and 2023-07-19 12:23:45 -07:00
metadata_sync_helpers.sql PG16 compatibility - varnullingrels additions (#7107) 2023-08-15 13:07:55 +03:00
minimal_cluster_management.sql Make coordinator always in metadata by default in regression tests. (#6847) 2023-04-17 14:14:37 +03:00
mixed_relkind_tests.sql Phase - I: recursively plan non-recurring relations 2022-12-07 18:27:50 +03:00
modification_correctness.sql
multi_agg_approximate_distinct.sql
multi_agg_distinct.sql
multi_agg_type_conversion.sql
multi_alias.sql Propagates column aliases (#6400) 2022-10-06 12:27:31 +03:00
multi_alter_table_add_constraints.sql Properly handle index storage options for ADD CONSTRAINT / COLUMN 2023-07-11 17:42:43 +03:00
multi_alter_table_add_constraints_without_name.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_alter_table_add_foreign_key_without_name.sql When Creating a FOREIGN KEY without a name, schema qualify referenced table name in deparser. (#6986) 2023-06-09 14:13:13 +03:00
multi_alter_table_row_level_security.sql
multi_alter_table_row_level_security_escape.sql
multi_alter_table_statements.sql Fix the incorrect column count after ALTER TABLE, this fixes the bug #7378 (please read the analysis in the bug for more information) 2024-01-24 11:48:06 -08:00
multi_array_agg.sql
multi_average_expression.sql
multi_basic_queries.sql
multi_behavioral_analytics_basics.sql
multi_behavioral_analytics_create_table.sql
multi_behavioral_analytics_create_table_superuser.sql
multi_behavioral_analytics_single_shard_queries.sql
multi_cache_invalidation.sql
multi_citus_tools.sql
multi_cluster_management.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_colocated_shard_rebalance.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
multi_colocation_utils.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_complex_count_distinct.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_complex_expressions.sql
multi_copy.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_count_type_conversion.sql
multi_create_fdw.sql Stabilize test helper sql files 2023-07-06 10:47:41 +03:00
multi_create_role_dependency.sql
multi_create_shards.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_create_table.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_create_table_constraints.sql
multi_create_table_superuser.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_create_users.sql
multi_cross_shard.sql
multi_data_types.sql Make 8 more tests runnable multiple times via run_test.py (#6791) 2023-03-27 12:19:06 +03:00
multi_deparse_function.sql
multi_deparse_procedure.sql
multi_deparse_shard_query.sql Adds grant/revoke privileges on database propagation (#7109) 2023-08-24 14:43:19 +03:00
multi_distributed_transaction_id.sql
multi_distribution_metadata.sql Remove shardstate leftovers (#6627) 2023-01-19 11:43:58 +03:00
multi_drop_extension.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_dropped_column_aliases.sql Phase - I: recursively plan non-recurring relations 2022-12-07 18:27:50 +03:00
multi_explain.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_extension.sql PG16 compatibility - varnullingrels additions (#7107) 2023-08-15 13:07:55 +03:00
multi_fix_partition_shard_index_names.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_follower_configure_followers.sql
multi_follower_dml.sql
multi_follower_sanity_check.sql
multi_follower_select_statements.sql
multi_foreign_key.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_foreign_key_relation_graph.sql
multi_function_evaluation.sql
multi_function_in_join.sql
multi_generate_ddl_commands.sql
multi_hash_pruning.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
multi_having_pushdown.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
multi_index_statements.sql
multi_insert_select.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
multi_insert_select_conflict.sql
multi_insert_select_non_pushable_queries.sql Prevent pushing down INSERT .. SELECT queries that we shouldn't (and allow some more) (#6752) 2023-05-17 15:05:08 +03:00
multi_insert_select_window.sql Disable citus.enable_non_colocated_router_query_pushdown by default (#6909) 2023-05-15 12:07:50 +03:00
multi_join_order_additional.sql
multi_join_order_tpch_repartition.sql
multi_join_order_tpch_small.sql
multi_join_pruning.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_json_agg.sql
multi_json_object_agg.sql
multi_jsonb_agg.sql
multi_jsonb_object_agg.sql
multi_large_shardid.sql
multi_level_recursive_queries.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_limit_clause.sql
multi_limit_clause_approximate.sql
multi_load_data.sql
multi_load_data_superuser.sql
multi_load_more_data.sql
multi_master_protocol.sql
multi_metadata_access.sql Fix flakyness in multi_metadata_access (#6524) 2022-11-29 10:00:06 +01:00
multi_metadata_attributes.sql Adds control for background task executors involving a node (#6771) 2023-04-06 14:12:39 +03:00
multi_metadata_sync.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
multi_modifications.sql
multi_modifying_xacts.sql Add a GUC to disallow planning the queries that reference non-colocated tables via router planner (#6793) 2023-03-28 13:10:29 +03:00
multi_move_mx.sql Exclude-Generated-Columns-In-Copy (#6721) 2023-03-07 18:15:50 +03:00
multi_multiuser.sql fix the problem #5763 (#6519) 2022-12-02 13:49:32 +01:00
multi_multiuser_auth.sql
multi_multiuser_basic_queries.sql
multi_multiuser_copy.sql
multi_multiuser_grant.sql
multi_multiuser_load_data.sql
multi_multiuser_master_protocol.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_mx_add_coordinator.sql
multi_mx_alter_distributed_table.sql Don't leak search_path to workers on DDL (#6444) 2022-10-19 16:47:35 +02:00
multi_mx_call.sql
multi_mx_copy_data.sql Make 8 more tests runnable multiple times via run_test.py (#6791) 2023-03-27 12:19:06 +03:00
multi_mx_create_table.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
multi_mx_ddl.sql Show local managed tables in citus_tables and hide tables owned by extensions (#6321) 2022-09-12 17:49:17 +03:00
multi_mx_explain.sql
multi_mx_function_call_delegation.sql Citus UDFs support for single shard tables (#6916) 2023-05-26 17:30:05 +03:00
multi_mx_function_table_reference.sql
multi_mx_hide_shard_names.sql Greatly speed up "\d tablename" on servers with many tables (#7577) 2024-04-17 10:26:50 +02:00
multi_mx_insert_select_repartition.sql
multi_mx_metadata.sql
multi_mx_modifications.sql
multi_mx_modifications_to_reference_tables.sql
multi_mx_modifying_xacts.sql Add a GUC to disallow planning the queries that reference non-colocated tables via router planner (#6793) 2023-03-28 13:10:29 +03:00
multi_mx_node_metadata.sql Deprecate citus.replicate_reference_tables_on_activate, make it always off (#6474) 2022-11-04 16:21:10 +01:00
multi_mx_partitioning.sql
multi_mx_reference_table.sql
multi_mx_repartition_join_w1.sql
multi_mx_repartition_join_w2.sql
multi_mx_repartition_udt_prepare.sql
multi_mx_repartition_udt_w1.sql
multi_mx_repartition_udt_w2.sql
multi_mx_router_planner.sql Add a GUC to disallow planning the queries that reference non-colocated tables via router planner (#6793) 2023-03-28 13:10:29 +03:00
multi_mx_schema_support.sql Fix flaky multi_mx_schema_support test (#6813) 2023-03-31 12:36:53 +02:00
multi_mx_tpch_query1.sql
multi_mx_tpch_query3.sql
multi_mx_tpch_query6.sql
multi_mx_tpch_query7.sql
multi_mx_tpch_query7_nested.sql
multi_mx_tpch_query10.sql
multi_mx_tpch_query12.sql
multi_mx_tpch_query14.sql
multi_mx_tpch_query19.sql
multi_mx_transaction_recovery.sql
multi_mx_truncate_from_worker.sql
multi_name_lengths.sql Enable ALTER TABLE ... ADD CHECK (#6606) 2023-01-12 23:31:06 +03:00
multi_name_resolution.sql
multi_null_minmax_value_pruning.sql
multi_orderby_limit_pushdown.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_outer_join.sql Phase - III: recursively plan non-recurring sub join trees too 2022-12-07 18:27:50 +03:00
multi_outer_join_reference.sql Phase - III: recursively plan non-recurring sub join trees too 2022-12-07 18:27:50 +03:00
multi_partition_pruning.sql
multi_partitioning.sql Support custom cast from / to timestamptz in time partition management UDFs (#6923) 2023-06-19 17:49:05 +03:00
multi_partitioning_utils.sql
multi_poolinfo_usage.sql Do not create additional WaitEventSet for RemoteSocketClosed checks 2022-12-14 22:42:55 +01:00
multi_prepare_plsql.sql
multi_prepare_sql.sql
multi_prune_shard_list.sql
multi_query_directory_cleanup.sql
multi_read_from_secondaries.sql
multi_real_time_transaction.sql
multi_reference_table.sql Fix flaky multi_reference_table test (#6664) 2023-01-30 13:32:38 +01:00
multi_remove_node_reference_table.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_repartition_join_planning.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_repartition_join_pruning.sql
multi_repartition_join_ref.sql
multi_repartition_join_task_assignment.sql
multi_repartition_udt.sql
multi_repartitioned_subquery_udf.sql
multi_replicate_reference_table.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_router_planner.sql Add a GUC to disallow planning the queries that reference non-colocated tables via router planner (#6793) 2023-03-28 13:10:29 +03:00
multi_router_planner_fast_path.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
multi_row_insert.sql
multi_row_router_insert.sql
multi_schema_support.sql Fixes visibility problems with dependency propagation (#7028) 2023-09-05 18:04:16 +03:00
multi_select_distinct.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_select_for_update.sql
multi_sequence_default.sql Properly handle IF NOT EXISTS for ADD COLUMN 2023-07-11 17:42:43 +03:00
multi_shard_update_delete.sql Remove shardstate leftovers (#6627) 2023-01-19 11:43:58 +03:00
multi_simple_queries.sql Add a GUC to disallow planning the queries that reference non-colocated tables via router planner (#6793) 2023-03-28 13:10:29 +03:00
multi_single_relation_subquery.sql
multi_size_queries.sql
multi_sql_function.sql
multi_subquery.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
multi_subquery_behavioral_analytics.sql
multi_subquery_complex_queries.sql
multi_subquery_complex_reference_clause.sql Phase - II: recursively plan non-recurring subqueries too 2022-12-07 18:27:50 +03:00
multi_subquery_in_where_clause.sql
multi_subquery_in_where_reference_clause.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_subquery_misc.sql
multi_subquery_union.sql
multi_subquery_window_functions.sql
multi_subtransactions.sql
multi_table_ddl.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_task_assignment_policy.sql
multi_task_string_size.sql
multi_tenant_isolation.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_tenant_isolation_nonblocking.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_test_catalog_views.sql
multi_test_helpers.sql Not undistribute Citus local table when converting it to a reference table / single-shard table 2023-08-29 12:57:28 +03:00
multi_test_helpers_superuser.sql
multi_tpch_query1.sql
multi_tpch_query3.sql
multi_tpch_query6.sql
multi_tpch_query7.sql
multi_tpch_query7_nested.sql
multi_tpch_query10.sql
multi_tpch_query12.sql
multi_tpch_query14.sql
multi_tpch_query19.sql
multi_transaction_recovery.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_transaction_recovery_multiple_databases.sql #6548 2PC recovery is extremely ineffective on a cluster with multiple DATABASEs fix (#7174) 2023-09-04 15:28:22 +02:00
multi_transactional_drop_shards.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
multi_truncate.sql Not try locking relations referencing to views (#6430) 2022-10-19 11:24:22 +03:00
multi_unsupported_worker_operations.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_upsert.sql Make 8 more tests runnable multiple times via run_test.py (#6791) 2023-03-27 12:19:06 +03:00
multi_utilities.sql Remove remaining master_create_distributed_table usages (#6477) 2022-11-04 16:30:06 +01:00
multi_utility_statements.sql Rewind tuple store to fix scrollable with hold cursor fetches (#7014) 2023-06-19 23:00:18 +03:00
multi_utility_warnings.sql Cleanup multi_utility_warnings test 2022-10-04 15:27:42 +03:00
multi_view.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
multi_working_columns.sql
mx_coordinator_shouldhaveshards.sql
mx_foreign_key_to_reference_table.sql
mx_regular_user.sql
nested_execution.sql
nested_execution_create.sql
node_conninfo_reload.sql Allow providing "host" parameter via citus.node_conninfo (#7541) 2024-04-17 10:26:50 +02:00
non_colocated_leaf_subquery_joins.sql
non_colocated_subquery_joins.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
non_super_user_object_metadata.sql
null_parameters.sql
object_propagation_debug.sql
partition_wise_join.sql
partitioned_indexes_create.sql
partitioned_intermediate_results.sql
partitioning_issue_3970.sql
pg12.sql PG16 compatibility - more test output fixes (#7108) 2023-08-09 18:04:32 +03:00
pg13.sql
pg13_propagate_statistics.sql
pg13_with_ties.sql
pg14.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
pg15.sql Adds alter database propagation - with and refresh collation (#7172) 2023-09-12 14:09:15 +03:00
pg15_jsonpath.sql Add tests for jsonpath changes on PG15 2022-09-26 22:55:54 +03:00
pg16.sql PG16 - Don't propagate GRANT ROLE with INHERIT/SET option (#7190) 2023-09-12 12:47:37 +03:00
pg_dump.sql
pgmerge.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
postgres.sql
prepared_statements_1.sql
prepared_statements_2.sql
prepared_statements_3.sql
prepared_statements_4.sql Adjusts query's CoerceViaIO & RelabelType nodes that are improper for deparsing (#6391) 2023-05-04 16:46:02 +03:00
prepared_statements_create_load.sql Adjusts query's CoerceViaIO & RelabelType nodes that are improper for deparsing (#6391) 2023-05-04 16:46:02 +03:00
propagate_extension_commands.sql
propagate_foreign_servers.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
propagate_set_commands.sql Propagate BEGIN properties to worker nodes (#6483) 2022-11-10 18:08:43 +01:00
propagate_statistics.sql
publication.sql Add tests with publications with schema and table of the same schema (#7184) 2023-09-06 16:40:36 +03:00
query_single_shard_table.sql Add support for router INSERT .. SELECT commands (#7077) 2023-07-28 15:07:20 +03:00
recurring_outer_join.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
recursive_dml_queries_mx.sql
recursive_dml_with_different_planners_executors.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
recursive_relation_planning_restriction_pushdown.sql
recursive_view_local_table.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
ref_citus_local_fkeys.sql Not allow ON DELETE/UPDATE SET DEFAULT actions on columns that default to sequences (#6340) 2022-09-23 03:34:02 -07:00
relation_access_tracking.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
relation_access_tracking_single_node.sql
remove_coordinator.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
remove_coordinator_from_metadata.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
replicate_reference_tables_to_coordinator.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
replicated_partitioned_table.sql
replicated_table_disable_node.sql
resync_metadata_with_sequences.sql
row_types.sql
run_command_on_all_nodes.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
schema_based_sharding.sql Adds grant/revoke privileges on database propagation (#7109) 2023-08-24 14:43:19 +03:00
schemas.sql
schemas_create.sql
sequences.sql
sequences_create.sql
sequences_owned_by.sql Cleans up test outputs (#6434) 2022-10-17 15:13:07 +03:00
sequences_with_different_types.sql
sequential_modifications.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
set_operation_and_local_tables.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
set_operations.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
set_role_in_transaction.sql
shard_move_constraints.sql Introduce citus_move_shard_placement UDF with nodeid 2023-01-12 16:57:51 +03:00
shard_move_constraints_blocking.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
shard_move_deferred_delete.sql Drop SHARD_STATE_TO_DELETE (#6494) 2023-01-03 14:38:16 +03:00
shard_rebalancer.sql fix flappyness of shard_rebalancer operations test (#7083) 2023-07-27 16:24:35 +02:00
shard_rebalancer_unit.sql Rebalance shard groups with placement count less than worker count (#6739) 2023-03-06 14:14:27 +03:00
shared_connection_stats.sql
single_hash_repartition_join.sql
single_node.sql Not undistribute Citus local table when converting it to a reference table / single-shard table 2023-08-29 12:57:28 +03:00
single_node_enterprise.sql Do not rebalance if replication factor is greater than the node count 2023-07-25 13:38:33 +03:00
single_node_truncate.sql Make single_node_truncate.sql re-runnable 2023-03-02 16:33:18 +03:00
single_shard_table_prep.sql Call null-shard-key tables as single-shard distributed tables in code 2023-05-03 17:02:43 +03:00
single_shard_table_udfs.sql Change default rebalance strategy to by_disk_size (#7033) 2023-07-03 11:08:24 +02:00
split_shard.sql Propagate CREATE PUBLICATION statements 2023-03-29 00:59:12 +02:00
sql_procedure.sql
sqlancer_failures.sql PG16 compatibility - some test outputs (#7100) 2023-08-04 13:03:15 +03:00
sqlsmith_failures.sql
ssl_by_default.sql
start_stop_metadata_sync.sql
stat_statements.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
statement_cancel_error_message.sql
subqueries_deep.sql
subqueries_not_supported.sql Phase - II: recursively plan non-recurring subqueries too 2022-12-07 18:27:50 +03:00
subquery_and_cte.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
subquery_append.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
subquery_basics.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
subquery_complex_target_list.sql
subquery_executors.sql
subquery_in_targetlist.sql
subquery_in_where.sql
subquery_local_tables.sql Bump PG14 and PG15 versions for CI tests (#7111) 2023-08-17 11:53:19 +03:00
subquery_partitioning.sql
subquery_prepared_statements.sql
subquery_view.sql Restore Test Coverage for Pushing Down Subqueries. (#6976) 2023-06-07 12:14:34 +03:00
tableam.sql
tablespace.sql
tdigest_aggregate_support.sql
text_search.sql
undistribute_table.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
undistribute_table_cascade.sql
undistribute_table_cascade_mx.sql
union_pushdown.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
unsupported_lateral_subqueries.sql
update_colocation_mx.sql
upgrade_autoconverted_after.sql
upgrade_autoconverted_before.sql
upgrade_basic_after.sql PG16 compatibility - varnullingrels additions (#7107) 2023-08-15 13:07:55 +03:00
upgrade_basic_before.sql PG16 compatibility - varnullingrels additions (#7107) 2023-08-15 13:07:55 +03:00
upgrade_citus_finish_citus_upgrade.sql Remove PG13 from CI and Configure (#7002) 2023-06-15 14:54:06 +03:00
upgrade_citus_locks.sql
upgrade_citus_stat_activity.sql
upgrade_columnar_after.sql Remove pg_depend entries from columnar metadata indexes to columnar-am 2023-03-14 17:13:52 +03:00
upgrade_columnar_before.sql Do clean-up before upgrade_columnar_before to make it runnable multiple times 2023-03-14 17:13:52 +03:00
upgrade_distributed_function_after.sql
upgrade_distributed_function_before.sql
upgrade_distributed_triggers_after.sql Fix pg14-pg15 upgrade_distributed_triggers test (#6981) 2023-06-14 15:32:38 +03:00
upgrade_distributed_triggers_before.sql
upgrade_list_citus_objects.sql PG16 compatibility: ruleutils and successful CREATE EXTENSION (#7087) 2023-08-02 16:04:51 +03:00
upgrade_pg_dist_cleanup_after.sql Move cleanup record test to upgrade schedule (#6794) 2023-04-06 11:42:49 +03:00
upgrade_pg_dist_cleanup_before.sql Move cleanup record test to upgrade schedule (#6794) 2023-04-06 11:42:49 +03:00
upgrade_post_11_after.sql Remove PG13 from CI and Configure (#7002) 2023-06-15 14:54:06 +03:00
upgrade_post_11_before.sql Remove PG13 from CI and Configure (#7002) 2023-06-15 14:54:06 +03:00
upgrade_rebalance_strategy_after.sql
upgrade_rebalance_strategy_before.sql
upgrade_ref2ref_after.sql
upgrade_ref2ref_before.sql
upgrade_schema_based_sharding_after.sql Rename pg_dist tenant_schema to pg_dist_schema (#7001) 2023-06-14 12:12:15 +03:00
upgrade_schema_based_sharding_before.sql Add support for schema-based-sharding via a GUC (#6866) 2023-05-26 10:49:58 +03:00
upgrade_single_shard_table_after.sql Prevent downgrades when there is a single-shard table in the cluster (#6908) 2023-05-16 09:44:28 +02:00
upgrade_single_shard_table_before.sql Prevent downgrades when there is a single-shard table in the cluster (#6908) 2023-05-16 09:44:28 +02:00
upgrade_type_after.sql
upgrade_type_before.sql
validate_constraint.sql
values.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
view_propagation.sql PG16 compatibility - more test output fixes (#7112) 2023-08-15 13:49:25 +03:00
views.sql
views_create.sql
window_functions.sql Drop PG13 Support Phase 2 - Remove PG13 specific paths/tests (#7007) 2023-06-21 14:18:23 +03:00
with_basics.sql Phase - II: recursively plan non-recurring subqueries too 2022-12-07 18:27:50 +03:00
with_dml.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
with_executors.sql Change test files in multi and multi-1 schedules to accommodate coordinator in the metadata. (#6939) 2023-06-05 10:37:48 +03:00
with_join.sql Phase - I: recursively plan non-recurring relations 2022-12-07 18:27:50 +03:00
with_modifying.sql
with_nested.sql
with_partitioning.sql
with_prepare.sql
with_set_operations.sql
with_transactions.sql
with_where.sql
worker_copy_table_to_node.sql
worker_split_binary_copy_test.sql
worker_split_copy_test.sql Exclude-Generated-Columns-In-Copy (#6721) 2023-03-07 18:15:50 +03:00
worker_split_text_copy_test.sql