Skip to content

Commit

Permalink
Fixes indentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
gurkanindibay committed Feb 6, 2024
1 parent 047a75f commit 75eb20d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/backend/distributed/commands/parameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ PostprocessGrantParameterStmt(Node *node, const char *queryString)
* First it sets the current role to the grantor of the aclItem, then it appends the grant
* privilege queries for the aclItem, and finally it resets the role to the original role.
* Ex: If the aclItem has the grant option for ACL_SET, it generates the following queries:
* SET ROLE <grantor>;
* GRANT SET ON <parameterName> TO <grantee>;
* RESET ROLE;
* SET ROLE <grantor>;
* GRANT SET ON <parameterName> TO <grantee>;
* RESET ROLE;
*/
static List *
GenerateGrantOnParameterFromAclItem(char *parameterName, AclItem *aclItem)
Expand Down Expand Up @@ -206,5 +206,4 @@ GenerateGrantStmtOnParametersFromCatalogTable(void)
return commands;
}


#endif /* PG_VERSION_NUM >= PG_VERSION_15 */

0 comments on commit 75eb20d

Please sign in to comment.