mirror of https://github.com/citusdata/citus.git
Add column autoconverted to sql scripts
parent
3f44d6ea72
commit
a231822de0
|
@ -31,6 +31,7 @@ CREATE FUNCTION pg_catalog.citus_drop_all_shards(logicalrelid regclass,
|
|||
AS 'MODULE_PATHNAME', $$citus_drop_all_shards$$;
|
||||
COMMENT ON FUNCTION pg_catalog.citus_drop_all_shards(regclass, text, text, boolean)
|
||||
IS 'drop all shards in a relation and update metadata';
|
||||
ALTER TABLE pg_dist_partition ADD COLUMN autoconverted boolean;
|
||||
#include "udfs/citus_drop_trigger/10.2-1.sql";
|
||||
#include "udfs/citus_prepare_pg_upgrade/10.2-1.sql"
|
||||
#include "udfs/citus_finish_pg_upgrade/10.2-1.sql"
|
||||
|
|
|
@ -25,6 +25,7 @@ DROP PROCEDURE pg_catalog.drop_old_time_partitions(regclass, timestamptz);
|
|||
|
||||
REVOKE ALL ON FUNCTION pg_catalog.worker_record_sequence_dependency(regclass,regclass,name) FROM PUBLIC;
|
||||
ALTER TABLE pg_catalog.pg_dist_placement DROP CONSTRAINT placement_shardid_groupid_unique_index;
|
||||
ALTER TABLE pg_catalog.pg_dist_partition DROP COLUMN autoconverted;
|
||||
|
||||
DROP FUNCTION pg_catalog.citus_drop_all_shards(regclass, text, text, boolean);
|
||||
CREATE FUNCTION pg_catalog.citus_drop_all_shards(logicalrelid regclass,
|
||||
|
|
|
@ -158,9 +158,9 @@ ShouldUndistributeCitusLocalTable(Oid relationId)
|
|||
{
|
||||
if (IsCitusTableType(relationOid, REFERENCE_TABLE))
|
||||
{
|
||||
/*
|
||||
/*
|
||||
* The relation is connected to a reference table via foreign keys,
|
||||
* we shouldn't undistribute it.
|
||||
* we shouldn't undistribute it.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue