mirror of https://github.com/citusdata/citus.git
Merge pull request #2933 from citusdata/drop_poolinfo_fk
Drop foreign key from pg_dist_poolinfo to pg_dist_nodepull/2938/head
commit
d69be38932
|
@ -224,3 +224,10 @@ $cppu$;
|
||||||
|
|
||||||
COMMENT ON FUNCTION pg_catalog.citus_finish_pg_upgrade()
|
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';
|
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