Make setlocale in ECPG test cases thread aware on Windows.
Michael Meskes <meskes@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/expected/thread-alloc.c | modified | +22 −17 |
| src/interfaces/ecpg/test/expected/thread-descriptor.c | modified | +12 −7 |
| src/interfaces/ecpg/test/expected/thread-prep.c | modified | +36 −31 |
| src/interfaces/ecpg/test/expected/thread-thread.c | modified | +33 −27 |
| src/interfaces/ecpg/test/expected/thread-thread_implicit.c | modified | +33 −27 |
| src/interfaces/ecpg/test/thread/alloc.pgc | modified | +5 −0 |
| src/interfaces/ecpg/test/thread/descriptor.pgc | modified | +5 −0 |
| src/interfaces/ecpg/test/thread/prep.pgc | modified | +5 −0 |
| src/interfaces/ecpg/test/thread/thread_implicit.pgc | modified | +6 −0 |
| src/interfaces/ecpg/test/thread/thread.pgc | modified | +6 −0 |