citus/src/backend/distributed/planner
Brian Cloutier 62e7bdbdd6 Switch from pg_worker_list.conf file to pg_dist_node metadata table.
Related to #786

This change adds the `pg_dist_node` table that contains the information
about the workers in the cluster, replacing the previously used
`pg_worker_list.conf` file (or the one specified with `citus.worker_list_file`).

Upon update, `pg_worker_list.conf` file is read and `pg_dist_node` table is
populated with the file's content. After that, `pg_worker_list.conf` file
is renamed to `pg_worker_list.conf.obsolete`

For adding and removing nodes, the change also includes two new UDFs:
`master_add_node` and `master_remove_node`, which require superuser
permissions.

'citus.worker_list_file' guc is kept for update purposes but not used after the
update is finished.
2016-10-05 13:01:35 +03:00
..
multi_explain.c Expand router planner coverage 2016-07-27 23:35:38 +03:00
multi_join_order.c Fix outer join crash when subquery is flatten 2016-07-22 17:01:19 +03:00
multi_logical_optimizer.c Make count return 0 if all shards are pruned away 2016-09-29 20:27:26 +02:00
multi_logical_planner.c Add outer join clause list extraction for subquery pushdown logic 2016-09-02 11:54:44 +03:00
multi_master_planner.c Initialize count_agg_clauses argument to 0. 2016-10-03 13:07:43 -07:00
multi_physical_planner.c Switch from pg_worker_list.conf file to pg_dist_node metadata table. 2016-10-05 13:01:35 +03:00
multi_planner.c Expand router planner coverage 2016-07-27 23:35:38 +03:00
multi_router_planner.c Make where false queries router plannable 2016-09-28 18:49:26 +03:00