citus/src/backend/distributed
Andres Freund 3223b3c92d Centralized Connection Lifetime Management.
Connections are tracked and released by integrating into postgres'
transaction handling. That allows to to use connections without having
to resort to having to disable interrupts or using PG_TRY/CATCH blocks
to avoid leaking connections.

This is intended to eventually replace multi_client_executor.c and
connection_cache.c, and to provide the basis of a centralized
transaction management.

The newly introduced transaction hook should, in the future, be the only
one in citus, to allow for proper ordering between operations.  For now
this central handler is responsible for releasing connections and
resetting XactModificationLevel after a transaction.
2016-12-07 11:43:18 -08:00
..
commands Fix typo in error message 2016-11-01 16:58:27 +02:00
connection Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00
executor Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00
master Take shard metadata lock in master_append_table_to_shard 2016-12-02 15:56:30 +01:00
metadata Convert colocationid to uint32 2016-10-20 10:59:31 +03:00
planner Bugfix for deparsing INSERT..SELECT queries which involve constant values 2016-12-01 10:41:56 +02:00
relay Foreign Constraint Support for create_distributed_table and shard move 2016-10-21 15:38:55 +03:00
test Feature: INSERT INTO ... SELECT 2016-10-26 10:01:00 +03:00
transaction Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00
utils Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00
worker Foreign Constraint Support for create_distributed_table and shard move 2016-10-21 15:38:55 +03:00
.gitignore Change logicalrelid type in pg_dist_partition and pg_dist_shard to regclass 2016-10-03 20:27:16 +02:00
Makefile Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00
citus--5.0--5.0-1.sql Grant SELECT for pg_catalog.pg_dist* to PUBLIC. 2016-04-27 10:28:25 -07:00
citus--5.0-1--5.0-2.sql Add COPY support on worker nodes for append partitioned relations 2016-05-03 16:00:00 +03:00
citus--5.0-2--5.1-1.sql Stamp 5.1 release. 2016-05-04 18:05:41 -07:00
citus--5.1-1--5.1-2.sql ADD master_modify_multiple_shards UDF 2016-05-26 17:30:35 +03:00
citus--5.1-2--5.1-3.sql Drop function from public and create in pg_catalog 2016-06-16 14:08:40 -07:00
citus--5.1-3--5.1-4.sql Change worker_apply_shard_ddl_command to accept schema name as parameter 2016-07-21 14:17:26 +03:00
citus--5.1-4--5.1-5.sql Fix worker_fetch_regular_table with schema 2016-07-22 00:44:02 -06:00
citus--5.1-5--5.1-6.sql Add old version(without schema name parameter) of api functions back 2016-07-28 20:40:38 +03:00
citus--5.1-6--5.1-7.sql Remove schema name parameter from API functions 2016-07-28 20:41:05 +03:00
citus--5.1-7--5.1-8.sql Support SERIAL/BIGSERIAL non-partition columns 2016-07-28 23:55:40 -06:00
citus--5.1-8--5.2-1.sql Bump version numbers for 5.2 release 2016-08-01 13:48:24 -07:00
citus--5.2-1--5.2-2.sql Add UDF master_expire_table_cache 2016-09-28 12:08:37 +03:00
citus--5.2-2--5.2-3.sql Add UDF master_expire_table_cache 2016-09-28 12:08:37 +03:00
citus--5.2-3--5.2-4.sql Internal co-location API 2016-09-29 11:56:53 +03:00
citus--5.2-4--6.0-1.sql Change logicalrelid type in pg_dist_partition and pg_dist_shard to regclass 2016-10-03 20:27:16 +02:00
citus--6.0-1--6.0-2.sql Provides safe, idempotent shard-extended names to any object name 2016-10-03 17:02:34 -04:00
citus--6.0-2--6.0-3.sql Add replication model column to pg_dist_partition 2016-10-05 01:14:28 +02:00
citus--6.0-3--6.0-4.sql Switch from pg_worker_list.conf file to pg_dist_node metadata table. 2016-10-05 13:01:35 +03:00
citus--6.0-4--6.0-5.sql Add worker transaction and transaction recovery infrastructure 2016-10-18 14:18:14 +03:00
citus--6.0-5--6.0-6.sql Drop shardalias 2016-10-14 11:03:26 +03:00
citus--6.0-6--6.0-7.sql Add pg_dist_local_group Metadata Table 2016-10-14 11:41:14 +03:00
citus--6.0-7--6.0-8.sql Drop shardalias 2016-10-14 11:03:26 +03:00
citus--6.0-8--6.0-9.sql Add worker transaction and transaction recovery infrastructure 2016-10-18 14:18:14 +03:00
citus--6.0-9--6.0-10.sql Add worker transaction and transaction recovery infrastructure 2016-10-18 14:18:14 +03:00
citus--6.0-10--6.0-11.sql Final refactoring 2016-10-20 11:29:11 +03:00
citus--6.0-11--6.0-12.sql Add create_reference_table() 2016-10-20 15:29:30 +03:00
citus--6.0-12--6.0-13.sql Foreign Constraint Support for create_distributed_table and shard move 2016-10-21 15:38:55 +03:00
citus--6.0-13--6.0-14.sql Move all funcs to pg_catalog, add test to verify 2016-10-25 12:45:53 -06:00
citus--6.0-14--6.0-15.sql Invalidate relcache after pg_dist_shard_placement changes. 2016-10-26 03:36:35 -07:00
citus--6.0-15--6.0-16.sql Add mark_tables_colocated() to update colocation groups 2016-10-26 17:29:03 +03:00
citus--6.0-16--6.0-17.sql Add stub for Copy shard placement 2016-10-26 17:57:55 +03:00
citus--6.0-17--6.0-18.sql Add Column Definition List for Output Columns for master_add_node 2016-11-07 14:08:58 -08:00
citus.control Add Column Definition List for Output Columns for master_add_node 2016-11-07 14:08:58 -08:00
citus.sql Change logicalrelid type in pg_dist_partition and pg_dist_shard to regclass 2016-10-03 20:27:16 +02:00
shared_library_init.c Centralized Connection Lifetime Management. 2016-12-07 11:43:18 -08:00