summaryrefslogtreecommitdiff
path: root/src/include/commands/user.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-01-14 22:11:38 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-01-14 22:11:38 +0000
commit4ceb2d0cb619bba2ecbf5d72a10c8fa7ba321366 (patch)
treefedda3351400f98ed990320516f0eed80d6c1b73 /src/include/commands/user.h
parent2af360ed1c5036b8d488cdb6dc94f96608375769 (diff)
* User management commands no longer user pg_exec_query_dest -> more robust
* Let unprivileged users change their own passwords. * The password is now an Sconst in the parser, which better reflects its text datatype and also forces users to quote them. * If your password is NULL you won't be written to the password file, meaning you can't connect until you have a password set up (if you use password authentication). * When you drop a user that owns a database you get an error. The database is not gone.
Diffstat (limited to 'src/include/commands/user.h')
-rw-r--r--src/include/commands/user.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h
index 036f1576820..6a52fe613d9 100644
--- a/src/include/commands/user.h
+++ b/src/include/commands/user.h
@@ -11,15 +11,15 @@
#define USER_H
#include "nodes/parsenodes.h"
-#include "tcop/dest.h"
+#include "access/htup.h"
-extern void DefineUser(CreateUserStmt *stmt, CommandDest);
-extern void AlterUser(AlterUserStmt *stmt, CommandDest);
-extern void RemoveUser(char *user, CommandDest);
+extern void CreateUser(CreateUserStmt *stmt);
+extern void AlterUser(AlterUserStmt *stmt);
+extern void DropUser(DropUserStmt *stmt);
-extern void CreateGroup(CreateGroupStmt *stmt, CommandDest dest);
-extern void AlterGroup(AlterGroupStmt *stmt, CommandDest dest);
-extern void DropGroup(DropGroupStmt *stmt, CommandDest dest);
+extern void CreateGroup(CreateGroupStmt *stmt);
+extern void AlterGroup(AlterGroupStmt *stmt, const char * tag);
+extern void DropGroup(DropGroupStmt *stmt);
extern HeapTuple update_pg_pwd(void);