mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-17 20:07:00 +08:00
* 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.
27 lines
618 B
C
27 lines
618 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* user.h
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef USER_H
|
|
#define USER_H
|
|
|
|
#include "nodes/parsenodes.h"
|
|
#include "access/htup.h"
|
|
|
|
extern void CreateUser(CreateUserStmt *stmt);
|
|
extern void AlterUser(AlterUserStmt *stmt);
|
|
extern void DropUser(DropUserStmt *stmt);
|
|
|
|
extern void CreateGroup(CreateGroupStmt *stmt);
|
|
extern void AlterGroup(AlterGroupStmt *stmt, const char * tag);
|
|
extern void DropGroup(DropGroupStmt *stmt);
|
|
|
|
extern HeapTuple update_pg_pwd(void);
|
|
|
|
#endif /* USER_H */
|