mirror of https://github.com/citusdata/citus.git
Do not cache all the metadata during fix_all_partition_shard_index_names
parent
26fdcb68f0
commit
f076e81166
|
@ -205,6 +205,13 @@ fix_partition_shard_index_names(PG_FUNCTION_ARGS)
|
|||
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue