summaryrefslogtreecommitdiff
path: root/src/include/commands/user.h
diff options
context:
space:
mode:
authorRobert Haas2012-12-23 23:25:03 +0000
committerRobert Haas2012-12-23 23:37:58 +0000
commitc504513f83a9ee8dce4a719746ca73102cae9f13 (patch)
tree3664999ca3242003181bef1fa171e28fe557ecb9 /src/include/commands/user.h
parent31bc839724439440b2e94ea616b28ce5be94e19c (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h
index 476654abf64..650fcea5574 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);