mirror of https://github.com/citusdata/citus.git
Merge pull request #1764 from citusdata/relcache_leak
Fix a relcache reference leak in stats collection.pull/1765/head
commit
731b1254f9
|
@ -397,6 +397,7 @@ DistributedTablesSize(List *distTableOids)
|
|||
if (PartitionMethod(relationId) == DISTRIBUTE_BY_HASH &&
|
||||
!SingleReplicatedTable(relationId))
|
||||
{
|
||||
heap_close(relation, AccessShareLock);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue