summaryrefslogtreecommitdiff
path: root/src/include/commands/user.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-04-04 04:25:54 +0000
committerBruce Momjian <bruce@momjian.us>2002-04-04 04:25:54 +0000
commit43a3543a4eb412a895df911eba9d8671ded45c54 (patch)
tree0ff55e96c81086081325b8e41b444915f99114f1 /src/include/commands/user.h
parentaf10378ab05f7979f0051c09f694709edcee8413 (diff)
downloadpostgresql-43a3543a4eb412a895df911eba9d8671ded45c54.tar.gz
Authentication improvements:
A new pg_hba.conf column, USER Allow specifiction of lists of users separated by commas Allow group names specified by + Allow include files containing lists of users specified by @ Allow lists of databases, and database files Allow samegroup in database column to match group name matching dbname Removal of secondary password files Remove pg_passwd utility Lots of code cleanup in user.c and hba.c New data/global/pg_pwd format New data/global/pg_group file
Diffstat (limited to 'src/include/commands/user.h')
-rw-r--r--src/include/commands/user.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/commands/user.h b/src/include/commands/user.h
index 351c2d6ef6..046e022ae8 100644
--- a/src/include/commands/user.h
+++ b/src/include/commands/user.h
@@ -3,15 +3,23 @@
* user.h
*
*
- * $Id: user.h,v 1.17 2002/03/01 22:45:17 petere Exp $
+ * $Id: user.h,v 1.18 2002/04/04 04:25:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef USER_H
#define USER_H
+#include "fmgr.h"
#include "nodes/parsenodes.h"
+#define PWD_FILE "pg_pwd"
+
+#define USER_GROUP_FILE "pg_group"
+
+
+extern char *group_getfilename(void);
+extern char *user_getfilename(void);
extern void CreateUser(CreateUserStmt *stmt);
extern void AlterUser(AlterUserStmt *stmt);
extern void AlterUserSet(AlterUserSetStmt *stmt);
@@ -21,6 +29,6 @@ extern void CreateGroup(CreateGroupStmt *stmt);
extern void AlterGroup(AlterGroupStmt *stmt, const char *tag);
extern void DropGroup(DropGroupStmt *stmt);
-extern Datum update_pg_pwd(PG_FUNCTION_ARGS);
+extern Datum update_pg_pwd_and_pg_group(PG_FUNCTION_ARGS);
#endif /* USER_H */