pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make setlocale in ECPG test cases thread aware on Windows.
Date: Wed, 13 Sep 2017 23:18:00 +0000
Message-ID: <E1dsGuu-0006Zw-KL@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/38d7cb67f2e8798d6e0ecff8334345a3ae73b902

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


view thread (3+ messages)

Message-ID: <E1dsGuu-0006Zw-KL@gemulon.postgresql.org>
Permalink:  ../E1dsGuu-0006Zw-KL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dsGuu-0006Zw-KL@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: meskes@postgresql.org
  Subject: Re: pgsql: Make setlocale in ECPG test cases thread aware on Windows.
  In-Reply-To: <E1dsGuu-0006Zw-KL@gemulon.postgresql.org>
  References: <E1dsGuu-0006Zw-KL@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox