mirror of https://github.com/citusdata/citus.git
Use the original relation's autoConverted while CREATE TABLE LIKE
parent
cc465033eb
commit
5e917574a4
|
|
@ -1223,8 +1223,9 @@ CreateCitusTableLike(TableConversionState *con)
|
||||||
}
|
}
|
||||||
else if (IsCitusTableType(con->relationId, CITUS_LOCAL_TABLE))
|
else if (IsCitusTableType(con->relationId, CITUS_LOCAL_TABLE))
|
||||||
{
|
{
|
||||||
|
CitusTableCacheEntry *entry = GetCitusTableCacheEntry(con->relationId);
|
||||||
|
bool autoConverted = entry->autoConverted;
|
||||||
bool cascade = false;
|
bool cascade = false;
|
||||||
bool autoConverted = false;
|
|
||||||
CreateCitusLocalTable(con->newRelationId, cascade, autoConverted);
|
CreateCitusLocalTable(con->newRelationId, cascade, autoConverted);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue