citus/src/backend/distributed
Andres Freund 5de52c3b04 Introduce placement IDs.
So far placements were assigned an Oid, but that was just used to track
insertion order. It also did so incompletely, as it was not preserved
across changes of the shard state. The behaviour around oid wraparound
was also not entirely as intended.

The newly introduced, explicitly assigned, IDs are preserved across
shard-state changes.

The prime goal of this change is not to improve ordering of task
assignment policies, but to make it easier to reference shards.  The
newly introduced UpdateShardPlacementState() makes use of that, and so
will the in-progress connection and transaction management changes.
2016-10-07 11:59:20 -07:00
..
commands Introduce placement IDs. 2016-10-07 11:59:20 -07:00
executor Introduce placement IDs. 2016-10-07 11:59:20 -07:00
master Introduce placement IDs. 2016-10-07 11:59:20 -07:00
planner Introduce placement IDs. 2016-10-07 11:59:20 -07:00
relay Avoid use of pnstrdup 2016-10-04 00:31:53 +02:00
test Introduce placement IDs. 2016-10-07 11:59:20 -07:00
transaction Directly register multi-shard callbacks in PG_init 2016-09-29 11:43:19 -06:00
utils Introduce placement IDs. 2016-10-07 11:59:20 -07:00
worker Switch from pg_worker_list.conf file to pg_dist_node metadata table. 2016-10-05 13:01:35 +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 Introduce placement IDs. 2016-10-07 11:59:20 -07: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 Introduce placement IDs. 2016-10-07 11:59:20 -07:00
citus.control Introduce placement IDs. 2016-10-07 11:59:20 -07: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 Reduce minimum value of task_tracker_delay to 1ms 2016-10-07 09:55:56 +03:00