summaryrefslogtreecommitdiff
path: root/src/include/commands/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands/user.h')
-rw-r--r--src/include/commands/user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h
index d35cb0c90de..1f0cfcc86f9 100644
--- a/src/include/commands/user.h
+++ b/src/include/commands/user.h
@@ -13,6 +13,7 @@
#include "catalog/objectaddress.h"
#include "nodes/parsenodes.h"
+#include "parser/parse_node.h"
/* Hook to check passwords in CreateRole() and AlterRole() */
@@ -23,7 +24,7 @@ typedef void (*check_password_hook_type) (const char *username, const char *pass
extern PGDLLIMPORT check_password_hook_type check_password_hook;
-extern Oid CreateRole(CreateRoleStmt *stmt);
+extern Oid CreateRole(ParseState *pstate, CreateRoleStmt *stmt);
extern Oid AlterRole(AlterRoleStmt *stmt);
extern Oid AlterRoleSet(AlterRoleSetStmt *stmt);
extern void DropRole(DropRoleStmt *stmt);