mirror of https://github.com/citusdata/citus.git
Do not cache all the metadata during fix_all_partition_shard_index_names
(cherry picked from commit f076e81166
)
release-11-onder-27-july
parent
377375de2a
commit
2a684e426c
|
@ -205,6 +205,13 @@ fix_partition_shard_index_names(PG_FUNCTION_ARGS)
|
||||||
|
|
||||||
FixPartitionShardIndexNames(relationId, parentIndexOid);
|
FixPartitionShardIndexNames(relationId, parentIndexOid);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This UDF is called from fix_all_partition_shard_index_names() which iterates
|
||||||
|
* over all the partitioned tables. There is no need to hold all the distributed
|
||||||
|
* table metadata until the end of the transaction for the input table.
|
||||||
|
*/
|
||||||
|
CitusTableCacheFlushInvalidatedEntries();
|
||||||
|
|
||||||
PG_RETURN_VOID();
|
PG_RETURN_VOID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue