mirror of https://github.com/citusdata/citus.git
Removes set statement
parent
78991cab7c
commit
e45c3c7ed8
|
@ -455,16 +455,6 @@ static DistributeObjectOps Database_Alter = {
|
||||||
.markDistributed = false,
|
.markDistributed = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
static DistributeObjectOps Database_Set = {
|
|
||||||
.deparse = DeparseAlterDatabaseSetStmt,
|
|
||||||
.qualify = NULL,
|
|
||||||
.preprocess = PreprocessAlterDatabaseSetStmt,
|
|
||||||
.postprocess = NULL,
|
|
||||||
.objectType = OBJECT_DATABASE,
|
|
||||||
.operationType = DIST_OPS_ALTER,
|
|
||||||
.address = NULL,
|
|
||||||
.markDistributed = false,
|
|
||||||
};
|
|
||||||
static DistributeObjectOps Database_Rename = {
|
static DistributeObjectOps Database_Rename = {
|
||||||
.deparse = DeparseAlterDatabaseRenameStmt,
|
.deparse = DeparseAlterDatabaseRenameStmt,
|
||||||
.qualify = NULL,
|
.qualify = NULL,
|
||||||
|
@ -1335,11 +1325,6 @@ GetDistributeObjectOps(Node *node)
|
||||||
return &Database_RefreshColl;
|
return &Database_RefreshColl;
|
||||||
}
|
}
|
||||||
|
|
||||||
case T_AlterDatabaseSetStmt:
|
|
||||||
{
|
|
||||||
return &Database_Set;
|
|
||||||
}
|
|
||||||
|
|
||||||
case T_AlterDomainStmt:
|
case T_AlterDomainStmt:
|
||||||
{
|
{
|
||||||
return &Domain_Alter;
|
return &Domain_Alter;
|
||||||
|
|
|
@ -329,18 +329,6 @@ DeparseAlterDatabaseStmt(Node *node)
|
||||||
return str.data;
|
return str.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
|
||||||
DeparseAlterDatabaseSetStmt(Node *node)
|
|
||||||
{
|
|
||||||
AlterDatabaseSetStmt *stmt = castNode(AlterDatabaseSetStmt, node);
|
|
||||||
|
|
||||||
StringInfoData str = {0};
|
|
||||||
initStringInfo(&str);
|
|
||||||
|
|
||||||
AppendAlterDatabaseSetStmt(&str, stmt);
|
|
||||||
|
|
||||||
return str.data;
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
DeparseAlterDatabaseRenameStmt(Node *node)
|
DeparseAlterDatabaseRenameStmt(Node *node)
|
||||||
|
|
Loading…
Reference in New Issue