Give nicer error message when connecting to a v10 server requiring SCRAM.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: bd05ad8b052012155fd5de0c21029d5869ad5eb4
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2017-05-05T08:24:02Z
Releases: 9.6.3
Give nicer error message when connecting to a v10 server requiring SCRAM.

This is just to give the user a hint that they need to upgrade, if they try
to connect to a v10 server that uses SCRAM authentication, with an older
client.

Commit to all stable branches, but not master.

Discussion: https://www.postgresql.org/message-id/bbf45d92-3896-eeb7-7399-2111d517261b@pivotal.io

Files

PathChange+/−
src/include/libpq/pqcomm.h modified +2 −0
src/interfaces/libpq/fe-auth.c modified +13 −0

Discussion