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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 33356ad68d5d3dce4c234d96dc908d3ca3329e77
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2017-05-05T08:24:36Z
Releases: 9.2.21
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