From 7762619e95272974f90a38d8d85aafbe0e94add5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 28 Jun 2005 05:09:14 +0000 Subject: Replace pg_shadow and pg_group by new role-capable catalogs pg_authid and pg_auth_members. There are still many loose ends to finish in this patch (no documentation, no regression tests, no pg_dump support for instance). But I'm going to commit it now anyway so that Alvaro can make some progress on shared dependencies. The catalog changes should be pretty much done. --- src/include/commands/user.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/include/commands/user.h') diff --git a/src/include/commands/user.h b/src/include/commands/user.h index a37f94940a9..ab2829a266b 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -1,10 +1,10 @@ /*------------------------------------------------------------------------- * * user.h - * Commands for manipulating users and groups. + * Commands for manipulating roles (formerly called users). * * - * $PostgreSQL: pgsql/src/include/commands/user.h,v 1.26 2005/02/20 02:22:05 tgl Exp $ + * $PostgreSQL: pgsql/src/include/commands/user.h,v 1.27 2005/06/28 05:09:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -14,15 +14,11 @@ #include "nodes/parsenodes.h" -extern void CreateUser(CreateUserStmt *stmt); -extern void AlterUser(AlterUserStmt *stmt); -extern void AlterUserSet(AlterUserSetStmt *stmt); -extern void DropUser(DropUserStmt *stmt); -extern void RenameUser(const char *oldname, const char *newname); - -extern void CreateGroup(CreateGroupStmt *stmt); -extern void AlterGroup(AlterGroupStmt *stmt, const char *tag); -extern void DropGroup(DropGroupStmt *stmt); -extern void RenameGroup(const char *oldname, const char *newname); +extern void CreateRole(CreateRoleStmt *stmt); +extern void AlterRole(AlterRoleStmt *stmt); +extern void AlterRoleSet(AlterRoleSetStmt *stmt); +extern void DropRole(DropRoleStmt *stmt); +extern void GrantRole(GrantRoleStmt *stmt); +extern void RenameRole(const char *oldname, const char *newname); #endif /* USER_H */ -- cgit v1.2.3