Set flag InTableTypeConversionFunctionCall

velioglu/prop_dep_view_review
Ahmet Gedemenli 2022-05-24 11:26:36 +03:00
parent 0c99c9951e
commit b286a9aced
1 changed files with 4 additions and 0 deletions

View File

@ -767,7 +767,11 @@ PreprocessAlterTableStmt(Node *node, const char *alterTableCommand,
* distributed table from local table and we don't want to break user
* experience by asking to add coordinator to metadata.
*/
/* as we're having a table type conversion, dont need warning messages */
InTableTypeConversionFunctionCall = true;
ConvertPostgresLocalTablesToCitusLocalTables(alterTableStatement);
InTableTypeConversionFunctionCall = false;
/*
* CreateCitusLocalTable converts relation to a shard relation and creates