mirror of https://github.com/citusdata/citus.git
Merge pull request #5925 from citusdata/use_less_mem
Refrain reading the metadata cache for all tables during upgradepull/5926/head
commit
63f229928f
|
@ -513,7 +513,8 @@ MarkExistingObjectDependenciesDistributedIfSupported()
|
|||
ObjectAddress tableAddress = { 0 };
|
||||
ObjectAddressSet(tableAddress, RelationRelationId, citusTableId);
|
||||
|
||||
if (ShouldSyncTableMetadata(citusTableId))
|
||||
/* refrain reading the metadata cache for all tables */
|
||||
if (ShouldSyncTableMetadataViaCatalog(citusTableId))
|
||||
{
|
||||
/* we need to pass pointer allocated in the heap */
|
||||
ObjectAddress *addressPointer = palloc0(sizeof(ObjectAddress));
|
||||
|
|
Loading…
Reference in New Issue