mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
pg_password utility. Cleanup for psql passwords. New datetime contrib stuff for new version. Fix for strutils needing config.h.
This commit is contained in:
@@ -79,7 +79,8 @@ verify_password(char *user, char *password, Port *port,
|
||||
}
|
||||
|
||||
/* kill the newline */
|
||||
test_pw[strlen(test_pw)-1] = '\0';
|
||||
if (test_pw[strlen(test_pw)-1] == '\n')
|
||||
test_pw[strlen(test_pw)-1] = '\0';
|
||||
|
||||
strNcpy(salt, test_pw, 2);
|
||||
|
||||
|
Reference in New Issue
Block a user