Error message on missing SCRAM authentication with older clients
Heikki Linnakangas <hlinnakangas@pivotal.io>
From: Heikki Linnakangas <hlinnakangas@pivotal.io>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-05-03T08:58:56Z
Lists: pgsql-hackers
Attachments
- backport-nicer-error-on-scram.patch (invalid/octet-stream) patch
Currently, if you use 9.6 libpq to connect to a v10 server that requires SCRAM authentication, you get an error: psql: authentication method 10 not supported I'd like to apply this small patch to all the stable branches, to give a nicer error message: psql: SCRAM authentication not supported by this version of libpq It won't help unless you upgrade to the latest minor version, of course, but it's better than nothing. Any objections? - Heikki
Commits
-
Give nicer error message when connecting to a v10 server requiring SCRAM.
- 33356ad68d5d 9.2.21 landed
- db73b2820514 9.3.17 landed
- 96d0f988b150 9.4.12 landed
- f050c847d969 9.5.7 landed
- bd05ad8b0520 9.6.3 landed