]> granicus.if.org Git - postgresql/commit
Fix the new SASLprep tests to work with non-UTF-8 locales.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 8 Apr 2017 10:32:38 +0000 (13:32 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 8 Apr 2017 10:32:38 +0000 (13:32 +0300)
commit9025af3ed039dd3bb9286b5af2fbdb29b9eb204e
treed7f252d86253a0bb6e2200f3908c2ed2cfb5ace5
parentf0e44021dfbdd37cb72aea71e3b3cf8b0397f9c5
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
src/test/authentication/t/002_saslprep.pl