mirror of https://github.com/citusdata/citus.git
Drop foreign key from pg_dist_poolinfo to pg_dist_node
parent
e132d579f2
commit
810aca8d41
|
@ -224,3 +224,10 @@ $cppu$;
|
|||
|
||||
COMMENT ON FUNCTION pg_catalog.citus_finish_pg_upgrade()
|
||||
IS 'perform tasks to restore citus settings from a location that has been prepared before pg_upgrade';
|
||||
|
||||
/*
|
||||
* We truncate pg_dist_node during metadata syncing, but we do not want
|
||||
* this to cascade to pg_dist_poolinfo, which is generally maintained
|
||||
* by the operator.
|
||||
*/
|
||||
ALTER TABLE pg_dist_poolinfo DROP CONSTRAINT pg_dist_poolinfo_nodeid_fkey;
|
||||
|
|
Loading…
Reference in New Issue