26 #define MAX_ENCRYPTED_PASSWORD_LEN (512)
54 const char *client_pass,
const char *md5_salt,
55 int md5_salt_len,
const char **logdetail);
57 const char *client_pass,
58 const char **logdetail);
int plain_crypt_verify(const char *role, const char *shadow_pass, const char *client_pass, const char **logdetail)
@ PASSWORD_TYPE_PLAINTEXT
@ PASSWORD_TYPE_SCRAM_SHA_256
char * get_role_password(const char *role, const char **logdetail)
PasswordType get_password_type(const char *shadow_pass)
PGDLLIMPORT bool md5_password_warnings
char * encrypt_password(PasswordType target_type, const char *role, const char *password)
int md5_crypt_verify(const char *role, const char *shadow_pass, const char *client_pass, const char *md5_salt, int md5_salt_len, const char **logdetail)