mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 08:37:56 -05:00
26 lines
819 B
C
26 lines
819 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* user.h
|
|
* Commands for manipulating roles (formerly called users).
|
|
*
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/commands/user.h,v 1.30 2006/10/04 00:30:08 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef USER_H
|
|
#define USER_H
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
|
|
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);
|
|
extern void DropOwnedObjects(DropOwnedStmt *stmt);
|
|
extern void ReassignOwnedObjects(ReassignOwnedStmt *stmt);
|
|
|
|
#endif /* USER_H */
|