diff options
Diffstat (limited to 'src/include/commands/user.h')
-rw-r--r-- | src/include/commands/user.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h index d76685182f8..ccadb04b8c7 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -11,6 +11,7 @@ #ifndef USER_H #define USER_H +#include "catalog/objectaddress.h" #include "nodes/parsenodes.h" @@ -27,7 +28,7 @@ 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); +extern ObjectAddress RenameRole(const char *oldname, const char *newname); extern void DropOwnedObjects(DropOwnedStmt *stmt); extern void ReassignOwnedObjects(ReassignOwnedStmt *stmt); extern List *roleNamesToIds(List *memberNames); |