pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed

pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed

pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256

2019-04-22 Thread Michael Paquier
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256 This commit fixes a couple of issues related to the way password verifiers hashed with MD5 or SCRAM-SHA-256 are detected, leading to being able to store in catalogs passwords which do not follow the supported hash formats: - A MD5-hashed