Make setlocale in ECPG test cases thread aware on Windows.

Michael Meskes <meskes@postgresql.org>

Commit: 839ee1811d053da4cdd0a44aea8fe7b011284be2
Author: Michael Meskes <meskes@postgresql.org>
Date: 2017-09-13T23:17:03Z
Releases: 9.6.6
Make setlocale in ECPG test cases thread aware on Windows.

Fix threaded test cases on Windows not to crash in setlocale() which can be
global or local to a thread on Windows.

Author: Christian Ullrich

Files