Fixes indentations

pull/7204/head
gindibay 2023-09-14 02:46:05 +03:00
parent 99e9786c7f
commit 06b1b16543
4 changed files with 10 additions and 8 deletions

View File

@ -1307,6 +1307,7 @@ EnsureSequentialModeForRoleDDL(void)
SetLocalMultiShardModifyModeToSequential(); SetLocalMultiShardModifyModeToSequential();
} }
/* /*
* PreprocessAlterDatabaseSetStmt is executed before the statement is applied to the local * PreprocessAlterDatabaseSetStmt is executed before the statement is applied to the local
* postgres instance. * postgres instance.

View File

@ -817,7 +817,6 @@ ProcessUtilityInternal(PlannedStmt *pstmt,
ddlJobs = processJobs; ddlJobs = processJobs;
} }
} }
} }
if (IsA(parsetree, CreateStmt)) if (IsA(parsetree, CreateStmt))

View File

@ -205,7 +205,6 @@ DeparseCreateRoleStmt(Node *node)
} }
/* /*
* AppendRoleOption generates the string representation of the DefElem option * AppendRoleOption generates the string representation of the DefElem option
* and appends it to the buffer. * and appends it to the buffer.
@ -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) switch (stmt->stmt_type)
{ {
case ROLESTMT_ROLE: case ROLESTMT_ROLE: