mirror of https://github.com/citusdata/citus.git
Fixes indentation
parent
be9f660fad
commit
1a26316cef
|
@ -382,7 +382,6 @@ citus_internal_database_command(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
createdb(NULL, (CreatedbStmt *) parseTree);
|
createdb(NULL, (CreatedbStmt *) parseTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (IsA(parseTree, DropdbStmt))
|
else if (IsA(parseTree, DropdbStmt))
|
||||||
{
|
{
|
||||||
|
@ -392,7 +391,7 @@ citus_internal_database_command(PG_FUNCTION_ARGS)
|
||||||
Oid databaseOid = get_database_oid(stmt->dbname, missingOk);
|
Oid databaseOid = get_database_oid(stmt->dbname, missingOk);
|
||||||
|
|
||||||
|
|
||||||
if(OidIsValid(databaseOid))
|
if (OidIsValid(databaseOid))
|
||||||
{
|
{
|
||||||
/* / * remove database from database shards * / */
|
/* / * remove database from database shards * / */
|
||||||
|
|
||||||
|
@ -403,6 +402,7 @@ citus_internal_database_command(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
ereport(ERROR, (errmsg("unsupported command type %d", nodeTag(parseTree))));
|
ereport(ERROR, (errmsg("unsupported command type %d", nodeTag(parseTree))));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Below command rollbacks flags to the state before this session*/
|
/* Below command rollbacks flags to the state before this session*/
|
||||||
AtEOXact_GUC(true, saveNestLevel);
|
AtEOXact_GUC(true, saveNestLevel);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue