mirror of https://github.com/citusdata/citus.git
Fixes indentations
parent
99e9786c7f
commit
06b1b16543
|
@ -1307,6 +1307,7 @@ EnsureSequentialModeForRoleDDL(void)
|
|||
SetLocalMultiShardModifyModeToSequential();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* PreprocessAlterDatabaseSetStmt is executed before the statement is applied to the local
|
||||
* postgres instance.
|
||||
|
@ -1316,7 +1317,7 @@ EnsureSequentialModeForRoleDDL(void)
|
|||
*/
|
||||
List *
|
||||
PreprocessAlterRoleRenameStmt(Node *node, const char *queryString,
|
||||
ProcessUtilityContext processUtilityContext)
|
||||
ProcessUtilityContext processUtilityContext)
|
||||
{
|
||||
if (!ShouldPropagate())
|
||||
{
|
||||
|
|
|
@ -817,7 +817,6 @@ ProcessUtilityInternal(PlannedStmt *pstmt,
|
|||
ddlJobs = processJobs;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (IsA(parsetree, CreateStmt))
|
||||
|
|
|
@ -205,11 +205,10 @@ DeparseCreateRoleStmt(Node *node)
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* AppendRoleOption generates the string representation of the DefElem option
|
||||
* and appends it to the buffer.
|
||||
*/
|
||||
* AppendRoleOption generates the string representation of the DefElem option
|
||||
* and appends it to the buffer.
|
||||
*/
|
||||
static void
|
||||
AppendInlinePriviliges(StringInfo buf, ListCell *optionCell)
|
||||
{
|
||||
|
@ -232,7 +231,10 @@ AppendInlinePriviliges(StringInfo buf, ListCell *optionCell)
|
|||
}
|
||||
}
|
||||
|
||||
static void AppendStatementType(StringInfo buf, CreateRoleStmt *stmt){
|
||||
|
||||
static void
|
||||
AppendStatementType(StringInfo buf, CreateRoleStmt *stmt)
|
||||
{
|
||||
switch (stmt->stmt_type)
|
||||
{
|
||||
case ROLESTMT_ROLE:
|
||||
|
|
|
@ -481,7 +481,7 @@ extern List * PreprocessAlterRoleSetStmt(Node *stmt, const char *queryString,
|
|||
ProcessUtilityContext processUtilityContext);
|
||||
|
||||
extern List * PreprocessAlterRoleRenameStmt(Node *stmt, const char *queryString,
|
||||
ProcessUtilityContext processUtilityContext);
|
||||
ProcessUtilityContext processUtilityContext);
|
||||
|
||||
extern List * GenerateAlterRoleSetCommandForRole(Oid roleid);
|
||||
extern List * AlterRoleStmtObjectAddress(Node *node,
|
||||
|
|
Loading…
Reference in New Issue