check_password_hook
Hook to check passwords in CreateRole() and AlterRole()
Reading PG 18·Select a recorded version
- Interface type
- check_password_hook_type
- Header
- src/include/commands/user.h
- Subsystem
- Authentication and connections
- Initial value
- NULL (no hook installed)
- signature
- typedef void (*check_password_hook_type) (const char *username, const char *shadow_pass, PasswordType password_type, Datum validuntil_time, bool validuntil_null); extern PGDLLIMPORT check_password_hook_type check_password_hook;
Definition PG 18
Hook to check passwords in CreateRole() and AlterRole()
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd
Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd