[HACKERS] Error message on missing SCRAM authentication with older clients - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject [HACKERS] Error message on missing SCRAM authentication with older clients
Date
Msg-id bbf45d92-3896-eeb7-7399-2111d517261b@pivotal.io
Whole thread Raw
Responses Re: [HACKERS] Error message on missing SCRAM authentication witholder clients  (Magnus Hagander <magnus@hagander.net>)
Re: [HACKERS] Error message on missing SCRAM authentication witholder clients  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
List pgsql-hackers
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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] scram and \password
Next
From: Heikki Linnakangas
Date:
Subject: [HACKERS] Error message on missing SCRAM authentication with older clients