citus/src/include/distributed
Onur Tirtir a58a4395ab Extend citus local table utility command support
This commit brings following features:

Foreign key support from citus local tables to reference tables
* Foreign key support from reference tables to citus local tables
  (only with RESTRICT & NO ACTION behavior)
* ALTER TABLE ENABLE/DISABLE trigger command support
* CREATE/DROP/ALTER trigger command support

and disallows:
* ALTER TABLE ATTACH/DETACH PARTITION commands
* CREATE TABLE <postgres table> ATTACH PARTITION <citus local table>
  commands
* Foreign keys from postgres tables to citus local tables
  (the other way was already disallowed)

for citus local tables.
2020-09-09 11:50:55 +03:00
..
commands adapt recently added code for pg13 2020-08-04 15:18:27 +03:00
metadata Adds support for table undistribution 2020-08-05 14:36:03 +03:00
adaptive_executor.h Support use of binary protocol in between nodes (#3877) 2020-06-12 15:02:51 +02:00
argutils.h Add the necessary changes for rebalance strategies on enterprise (#3325) 2019-12-19 15:23:08 +01:00
backend_data.h Fix wrong cancellation message about distributed deadlocks (#3956) 2020-06-30 14:57:46 +02:00
cancel_utils.h add IsHoldOffCancellationReceived utility function (#3290) 2019-12-12 17:32:59 +03:00
citus_acquire_lock.h remove copyright years (#3286) 2019-12-11 21:14:08 +03:00
citus_clauses.h Rename master evaluation to coordinator evaluation 2020-07-07 10:37:41 +02:00
citus_custom_scan.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
citus_nodefuncs.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
citus_nodes.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
citus_ruleutils.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
citus_safe_lib.h Semmle: Ensure stack memory is not leaked through uninitialized… (#3561) 2020-03-11 20:05:36 +01:00
colocation_utils.h add a UDF to update colocation (#3623) 2020-03-23 13:22:24 +03:00
combine_query_planner.h Fix some more master->coordinator comments 2020-07-07 10:37:53 +02:00
commands.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
connection_management.h Implement shared connection count reservation & enable `citus.max_shared_pool_size` for COPY 2020-08-03 18:51:40 +02:00
coordinator_protocol.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
cte_inline.h Update regression tests-2 2020-01-16 12:28:15 +01:00
deparse_shard_query.h Support EXPLAIN EXECUTE ANALYZE. 2020-08-10 13:44:30 -07:00
deparser.h introduce planner_compat and pg_plan_query_compat macros 2020-08-04 15:10:22 +03:00
directed_acyclic_graph_execution.h Fill in jobIdList field of DistributedExecution 2020-02-05 17:32:22 +00:00
distributed_deadlock_detection.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
distributed_execution_locks.h Remove real time router executors (#3142) 2019-11-05 12:48:10 +01:00
distributed_planner.h Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
distribution_column.h Fix segfault in column_to_column_name 2019-12-01 23:57:25 +01:00
enterprise.h remove copyright years (#3286) 2019-12-11 21:14:08 +03:00
error_codes.h Issue worker messages with the same log level 2020-04-14 21:08:25 +02:00
errormessage.h Introduce GetDistributeObjectOps to organize dispatch of logic dependent on node/object type 2020-01-09 18:24:29 +00:00
extended_op_node_utils.h Fix some more master->coordinator comments 2020-07-07 10:37:53 +02:00
foreign_key_relationship.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
function_call_delegation.h Refactor distributed_planner for better understandability 2020-01-06 14:23:38 +01:00
function_utils.h Semmle: Fix obvious issues (#3502) 2020-02-21 10:16:00 +01:00
hash_helpers.h use macros for pg versions instead of hardcoded values (#3694) 2020-04-01 17:01:52 +03:00
insert_select_executor.h Move more from insert_select_executor to insert_select_planner 2020-06-26 08:08:26 -07:00
insert_select_planner.h Move more from insert_select_executor to insert_select_planner 2020-06-26 08:08:26 -07:00
intermediate_result_pruning.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
intermediate_results.h CTE statistics in EXPLAIN ANALYZE 2020-06-11 02:39:59 -07:00
listutils.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
local_executor.h Implement TupleDestination intereface. 2020-06-05 17:47:40 -07:00
local_multi_copy.h apply review items 2020-03-18 09:33:55 +03:00
local_plan_cache.h extract local plan cache related methods into a file (#3667) 2020-03-31 11:11:34 +03:00
locally_reserved_shared_connections.h Implement shared connection count reservation & enable `citus.max_shared_pool_size` for COPY 2020-08-03 18:51:40 +02:00
lock_graph.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
log_utils.h Issue worker messages with the same log level 2020-04-14 21:08:25 +02:00
maintenanced.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
memutils.h Implementation for asycn FinishConnectionListEstablishment (#2584) 2019-03-22 17:30:42 +01:00
metadata_cache.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
metadata_sync.h Rename DistTableCacheEntry to CitusTableCacheEntry 2020-03-07 14:08:03 +00:00
metadata_utility.h Implement "citus local table" creation logic 2020-09-09 11:50:48 +03:00
multi_client_executor.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
multi_executor.h Support EXPLAIN EXECUTE ANALYZE. 2020-08-10 13:44:30 -07:00
multi_explain.h Fix task->fetchedExplainAnalyzePlan memory issue. 2020-07-07 07:58:02 -07:00
multi_join_order.h Rename ForceXxx functions to to XxxOrError 2020-09-01 11:19:17 +02:00
multi_logical_optimizer.h Fix pushdown of constants in aggregate queries 2020-06-30 11:41:16 -07:00
multi_logical_planner.h Rename FindNodeCheckXXX functions (#4106) 2020-08-11 15:01:23 +03:00
multi_partitioning_utils.h Remove master from file hierarchy 2020-06-16 17:49:09 +02:00
multi_physical_planner.h Remove unused parameters from round robin reordering and friends (#4120) 2020-08-20 12:45:01 +03:00
multi_progress.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
multi_router_planner.h Handle some NULL issues that static analysis found (#4001) 2020-07-09 15:46:42 +02:00
multi_server_executor.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
namespace_utils.h Implement PushOverrideEmptySearchPath (#3874) 2020-06-05 19:23:59 +03:00
pg_dist_colocation.h Add distributioncolumncollation to to pg_dist_colocation 2019-12-09 19:51:40 +00:00
pg_dist_local_group.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
pg_dist_node.h Add shouldhaveshards to pg_dist_node (#2960) 2019-10-22 16:47:16 +02:00
pg_dist_node_metadata.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
pg_dist_partition.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
pg_dist_placement.h Fix some more master->coordinator comments 2020-07-07 10:37:53 +02:00
pg_dist_rebalance_strategy.h Add the necessary changes for rebalance strategies on enterprise (#3325) 2019-12-19 15:23:08 +01:00
pg_dist_shard.h Implement partitioned intermediate results. 2019-12-24 03:53:39 -08:00
pg_dist_transaction.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
pg_version_constants.h add copy of ruleutils_12 as ruleutils_13 2020-08-04 13:34:13 +03:00
placement_access.h Remove real time router executors (#3142) 2019-11-05 12:48:10 +01:00
placement_connection.h Implement shared connection count reservation & enable `citus.max_shared_pool_size` for COPY 2020-08-03 18:51:40 +02:00
query_colocation_checker.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
query_pushdown_planning.h Create CanPushdownSubqery wrapper for better readability (#4108) 2020-08-12 17:28:20 +03:00
query_stats.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
query_utils.h Include all relevant relations in the ExtractRangeTableRelationWalker (#3135) 2019-11-01 16:06:58 +01:00
recursive_planning.h use macros for pg versions instead of hardcoded values (#3694) 2020-04-01 17:01:52 +03:00
reference_table_utils.h expose transfermode for ensure reference table existance 2020-09-03 16:06:37 +02:00
relation_access_tracking.h Record non-distributed table accesses in local executor (#4139) 2020-09-07 18:19:08 +03:00
relation_restriction_equivalence.h Fix typos 2020-02-18 17:14:40 +00:00
relay_utility.h Rename RelayFileState to ShardState 2020-01-12 05:57:53 +00:00
remote_commands.h Support use of binary protocol in between nodes (#3877) 2020-06-12 15:02:51 +02:00
remote_transaction.h rename REMOTE_TRANS_INVALID to REMOTE_TRANS_NOT_STARTED 2019-12-11 15:24:18 +03:00
repartition_join_execution.h Add adaptive executor support for repartition joins (#3169) 2019-12-17 19:09:45 +03:00
resource_lock.h Defer reference table replication to shard creation time 2020-04-08 12:41:36 -07:00
run_from_same_connection.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
shard_pruning.h Coerce types properly for INSERT 2020-06-10 10:40:28 +02:00
shard_utils.h Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
shardinterval_utils.h Fix int32 overflow and use PG macros for INT32_XX (#4061) 2020-07-23 18:30:08 +03:00
shared_connection_stats.h Implement shared connection count reservation & enable `citus.max_shared_pool_size` for COPY 2020-08-03 18:51:40 +02:00
shared_library_init.h refactor some of hard coded values in citus gucs (#3137) 2019-10-30 10:35:39 +03:00
statistics_collection.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
subplan_execution.h Locally execute queries that don't need any data access (#3410) 2020-01-23 18:28:34 +01:00
task_execution_utils.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
tdigest_extension.h Feature: tdigest aggregate (#3897) 2020-06-12 13:50:28 +02:00
time_constants.h refactor some of hard coded values in citus gucs (#3137) 2019-10-30 10:35:39 +03:00
transaction_identifier.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
transaction_management.h Defer reference table replication to shard creation time 2020-04-08 12:41:36 -07:00
transaction_recovery.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
transmit.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
tuple_destination.h Fix EXPLAIN ANALYZE received data counter issues (#3917) 2020-06-17 11:33:38 +02:00
tuplestore.h Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00
version_compat.h Implement "citus local table" creation logic 2020-09-09 11:50:48 +03:00
worker_create_or_replace.h create_distributed_function: accept aggregates 2019-11-06 18:23:37 +00:00
worker_log_messages.h Issue worker messages with the same log level 2020-04-14 21:08:25 +02:00
worker_manager.h Implement "citus local table" creation logic 2020-09-09 11:50:48 +03:00
worker_protocol.h Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
worker_shard_visibility.h Implement "citus local table" creation logic 2020-09-09 11:50:48 +03:00
worker_transaction.h address feedback 2020-07-13 19:45:02 +03:00