pgsql: Fix the new SASLprep tests to work with non-UTF-8 locales.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the new SASLprep tests to work with non-UTF-8 locales.
Date: 2017-04-08 10:33:08
Message-ID: E1cwng4-0002AM-5b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix the new SASLprep tests to work with non-UTF-8 locales.

Fix by forcing database encoding to UTF-8, regardless of the current
locale.

Pointed out by Tom Lane.

Discussion: https://www.postgresql.org/message-id/8934.1491614631@sss.pgh.pa.us

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9025af3ed039dd3bb9286b5af2fbdb29b9eb204e

Modified Files
--------------
src/test/authentication/t/002_saslprep.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2017-04-08 10:33:41 Running make check-world in buildfarm (was Re: [COMMITTERS] pgsql: Use SASLprep to normalize passwords for SCRAM authentication.)
Previous Message Peter Eisentraut 2017-04-08 02:45:51 pgsql: doc: Add some markup