mirror of https://github.com/citusdata/citus.git
Skip for table types other than citus local tables
parent
4f557a43b6
commit
271220ef6e
|
|
@ -1318,7 +1318,7 @@ ConvertPostgresLocalTablesToCitusLocalTables(AlterTableStmt *alterTableStatement
|
|||
*/
|
||||
continue;
|
||||
}
|
||||
else if (IsCitusTable(relationId))
|
||||
else if (IsCitusTableType(relationId, CITUS_LOCAL_TABLE))
|
||||
{
|
||||
CitusTableCacheEntry *entry = GetCitusTableCacheEntry(relationId);
|
||||
if (!entry->autoConverted || autoConverted)
|
||||
|
|
@ -1339,6 +1339,11 @@ ConvertPostgresLocalTablesToCitusLocalTables(AlterTableStmt *alterTableStatement
|
|||
continue;
|
||||
}
|
||||
}
|
||||
else if (IsCitusTable(relationId))
|
||||
{
|
||||
/* we can directly skip for table types other than citus local tables */
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* The only reason behind using a try/catch block here is giving a proper
|
||||
|
|
|
|||
Loading…
Reference in New Issue