Fixes indentation error

grant_parameter_propagation
gurkanindibay 2024-02-06 16:55:05 +03:00
parent 047a75f2d2
commit 75eb20dc06
1 changed files with 3 additions and 4 deletions

View File

@ -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 * 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. * 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: * Ex: If the aclItem has the grant option for ACL_SET, it generates the following queries:
* SET ROLE <grantor>; * SET ROLE <grantor>;
* GRANT SET ON <parameterName> TO <grantee>; * GRANT SET ON <parameterName> TO <grantee>;
* RESET ROLE; * RESET ROLE;
*/ */
static List * static List *
GenerateGrantOnParameterFromAclItem(char *parameterName, AclItem *aclItem) GenerateGrantOnParameterFromAclItem(char *parameterName, AclItem *aclItem)
@ -206,5 +206,4 @@ GenerateGrantStmtOnParametersFromCatalogTable(void)
return commands; return commands;
} }
#endif /* PG_VERSION_NUM >= PG_VERSION_15 */ #endif /* PG_VERSION_NUM >= PG_VERSION_15 */