From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make setlocale in ECPG test cases thread aware on Windows. |
Date: | 2017-09-13 23:18:00 |
Message-ID: | E1dsGuu-0006a2-LV@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2017-09-13 23:20:37 | Re: pgsql: Changed order of statements and added an additiona MSVC safeguar |
Previous Message | Tom Lane | 2017-09-13 16:27:07 | pgsql: Adjust unstable regression test case. |