pgsql: Give nicer error message when connecting to a v10 server requiri

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Give nicer error message when connecting to a v10 server requiri
Date: 2017-05-05 08:35:41
Message-ID: E1d6YiD-00070C-EM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f050c847d9698e89e145c20cddb7f41535d9d121

Modified Files
--------------
src/include/libpq/pqcomm.h | 2 ++
src/interfaces/libpq/fe-auth.c | 13 +++++++++++++
2 files changed, 15 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2017-05-05 10:10:06 pgsql: Build pgoutput.dll in MSVC build
Previous Message Amit Kapila 2017-05-05 07:34:57 Re: Change GetLastImportantRecPtr's definition? (wasSkip checkpoints, archiving on idle systems.)