diff options
| author | Robert Haas <rhaas@postgresql.org> | 2012-12-23 18:25:03 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2012-12-23 18:37:58 -0500 |
| commit | c504513f83a9ee8dce4a719746ca73102cae9f13 (patch) | |
| tree | 3664999ca3242003181bef1fa171e28fe557ecb9 /src/include/commands/user.h | |
| parent | 31bc839724439440b2e94ea616b28ce5be94e19c (diff) | |
| download | postgresql-c504513f83a9ee8dce4a719746ca73102cae9f13.tar.gz | |
Adjust many backend functions to return OID rather than void.
Extracted from a larger patch by Dimitri Fontaine. It is hoped that
this will provide infrastructure for enriching the new event trigger
functionality, but it seems possibly useful for other purposes as
well.
Diffstat (limited to 'src/include/commands/user.h')
| -rw-r--r-- | src/include/commands/user.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h index 476654abf6..650fcea557 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -27,7 +27,7 @@ extern void AlterRole(AlterRoleStmt *stmt); extern void AlterRoleSet(AlterRoleSetStmt *stmt); extern void DropRole(DropRoleStmt *stmt); extern void GrantRole(GrantRoleStmt *stmt); -extern void RenameRole(const char *oldname, const char *newname); +extern Oid RenameRole(const char *oldname, const char *newname); extern void DropOwnedObjects(DropOwnedStmt *stmt); extern void ReassignOwnedObjects(ReassignOwnedStmt *stmt); |
