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: Sat, 26 Aug 2017 11:02:15 +0000
Message-ID: <E1dlYr1-0007MZ-L7@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a772624b1d6b47ac00384901e1753f1d34b0cd10

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)  latest in thread

Message-ID: <E1dlYr1-0007MZ-L7@gemulon.postgresql.org>
Permalink:  ../E1dlYr1-0007MZ-L7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dlYr1-0007MZ-L7@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: <E1dlYr1-0007MZ-L7@gemulon.postgresql.org>
  References: <E1dlYr1-0007MZ-L7@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