diff --git a/src/backend/distributed/commands/extension.c b/src/backend/distributed/commands/extension.c index c1cf06039..c6fc1e3a4 100644 --- a/src/backend/distributed/commands/extension.c +++ b/src/backend/distributed/commands/extension.c @@ -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));