[COMMITTERS] pgsql: Make setlocale in ECPG test cases thread aware on Windows. - Mailing list pgsql-committers

From Michael Meskes
Subject [COMMITTERS] pgsql: Make setlocale in ECPG test cases thread aware on Windows.
Date
Msg-id E1dsGuu-0006a2-LV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Adjust unstable regression test case.
Next
From: Michael Meskes
Date:
Subject: Re: [COMMITTERS] pgsql: Changed order of statements and added anadditiona MSVC safeguar