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();
}
/*
* 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())
{

View File

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

View File

@ -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:

View File

@ -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,