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
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/839ee1811d053da4cdd0a44aea8fe7b011284be2
Modified Files
--------------
src/interfaces/ecpg/test/expected/thread-alloc.c | 39 +++++++------
.../ecpg/test/expected/thread-descriptor.c | 19 +++---
src/interfaces/ecpg/test/expected/thread-prep.c | 67 ++++++++++++----------
src/interfaces/ecpg/test/expected/thread-thread.c | 60 ++++++++++---------
.../ecpg/test/expected/thread-thread_implicit.c | 60 ++++++++++---------
src/interfaces/ecpg/test/thread/alloc.pgc | 5 ++
src/interfaces/ecpg/test/thread/descriptor.pgc | 5 ++
src/interfaces/ecpg/test/thread/prep.pgc | 5 ++
src/interfaces/ecpg/test/thread/thread.pgc | 6 ++
.../ecpg/test/thread/thread_implicit.pgc | 6 ++
10 files changed, 163 insertions(+), 109 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers