citus/src/backend/distributed/utils
Marco Slot 2f8ac82660 Execute INSERT..SELECT via coordinator if it cannot be pushed down
Add a second implementation of INSERT INTO distributed_table SELECT ... that is used if
the query cannot be pushed down. The basic idea is to execute the SELECT query separately
and pass the results into the distributed table using a CopyDestReceiver, which is also
used for COPY and create_distributed_table. When planning the SELECT, we go through
planner hooks again, which means the SELECT can also be a distributed query.

EXPLAIN is supported, but EXPLAIN ANALYZE is not because preventing double execution was
a lot more complicated in this case.
2017-06-22 15:46:30 +02:00
..
citus_clauses.c Execute INSERT..SELECT via coordinator if it cannot be pushed down 2017-06-22 15:46:30 +02:00
citus_nodefuncs.c Support for deferred error messages. 2017-01-23 09:23:50 -08:00
citus_outfuncs.c Execute INSERT..SELECT via coordinator if it cannot be pushed down 2017-06-22 15:46:30 +02:00
citus_read.c Support PostgreSQL 9.6 2016-10-18 16:23:55 -06:00
citus_readfuncs.c Execute INSERT..SELECT via coordinator if it cannot be pushed down 2017-06-22 15:46:30 +02:00
citus_readfuncs_95.c Support for deferred error messages. 2017-01-23 09:23:50 -08:00
citus_ruleutils.c Execute INSERT..SELECT via coordinator if it cannot be pushed down 2017-06-22 15:46:30 +02:00
colocation_utils.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
distribution_column.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
errormessage.c Set a memory context when throwing deferred errors 2017-02-02 15:14:21 +02:00
hash_helpers.c Add some basic helpers to make use of dynahash hashtables easier. 2016-12-06 14:15:36 -08:00
listutils.c Add worker transaction and transaction recovery infrastructure 2016-10-18 14:18:14 +03:00
metadata_cache.c Register cache invalidation callback before version checks 2017-05-24 17:39:25 +03:00
multi_resowner.c Update copyright dates 2016-03-23 17:14:37 -06:00
node_metadata.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
reference_table_utils.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
resource_lock.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
ruleutils_95.c Add view support 2017-01-13 09:39:42 +03:00
ruleutils_96.c Add view support 2017-01-13 09:39:42 +03:00
shardinterval_utils.c Faster shard pruning. 2017-04-28 14:40:41 -07:00