From 82b1b213cad3a69cf5f3dfaa81687c14366960fc Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Sat, 29 Dec 2012 07:55:37 -0500 Subject: Adjust more backend functions to return OID rather than void. This is again intended to support extensions to the event trigger functionality. This may go a bit further than we need for that purpose, but there's some value in being consistent, and the OID may be useful for other purposes also. Dimitri Fontaine --- src/include/commands/user.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/commands/user.h') diff --git a/src/include/commands/user.h b/src/include/commands/user.h index 650fcea5574..fdbfaeff0e8 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -22,9 +22,9 @@ typedef void (*check_password_hook_type) (const char *username, const char *pass extern PGDLLIMPORT check_password_hook_type check_password_hook; -extern void CreateRole(CreateRoleStmt *stmt); -extern void AlterRole(AlterRoleStmt *stmt); -extern void AlterRoleSet(AlterRoleSetStmt *stmt); +extern Oid CreateRole(CreateRoleStmt *stmt); +extern Oid AlterRole(AlterRoleStmt *stmt); +extern Oid AlterRoleSet(AlterRoleSetStmt *stmt); extern void DropRole(DropRoleStmt *stmt); extern void GrantRole(GrantRoleStmt *stmt); extern Oid RenameRole(const char *oldname, const char *newname); -- cgit v1.2.3