Re: Error message on missing SCRAM authentication with older clients

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-05-04T11:48:56Z
Lists: pgsql-hackers
On 05/03/2017 03:12 PM, Aleksander Alekseev wrote:
> Hi Heikki,
>
>> psql: SCRAM authentication not supported by this version of libpq
>
> Maybe it would be better to specify a minimum required version?

Yeah, that could be helpful. Can you suggest a wording?

My first thought was:

psql: SCRAM authentication not supported by this version of libpq 
(version 10 or above required)

But that's very long. Perhaps:

psql: SCRAM authentication requires libpq version 10 or above

- Heikki


Commits

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