* Parses a createRole spec, executes the createRole command, and returns the result. */
| 145 | * Parses a createRole spec, executes the createRole command, and returns the result. |
| 146 | */ |
| 147 | Datum |
| 148 | command_create_role(PG_FUNCTION_ARGS) |
| 149 | { |
| 150 | pgbson *createRoleSpec = PG_GETARG_PGBSON(0); |
| 151 | |
| 152 | Datum response = create_role(createRoleSpec); |
| 153 | |
| 154 | PG_RETURN_DATUM(response); |
| 155 | } |
| 156 | |
| 157 | |
| 158 | /* |
nothing calls this directly
no test coverage detected