From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove _configthreadlocale() calls in ecpg test suite.
Date: Thu, 24 Jan 2019 22:02:15 +0000
Message-ID: <E1gmn4h-0004Vb-Oe@gemulon.postgresql.org> (raw)
Remove _configthreadlocale() calls in ecpg test suite.
This essentially reverts commits a772624b1 and 04fbe0e45, which
added "_configthreadlocale(_ENABLE_PER_THREAD_LOCALE)" calls to the
thread-related ecpg test programs. That was nothing but a hack,
because we shouldn't expect that ecpg-using applications have
done that for us; and now that we've inserted such calls into
ecpglib, the tests should still pass without it.
(If they don't, it would be good to know that.)
HEAD only; there seems no big need to change this in the
back branches.
Discussion: https://postgr.es/m/22937.1548307384@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e3565fd61cee16414a682d2be0d44c112a80a30c
Modified Files
--------------
src/interfaces/ecpg/test/expected/thread-alloc.c | 24 ++++------
.../ecpg/test/expected/thread-descriptor.c | 14 ++----
src/interfaces/ecpg/test/expected/thread-prep.c | 52 ++++++++++------------
src/interfaces/ecpg/test/expected/thread-thread.c | 28 +++++-------
.../ecpg/test/expected/thread-thread_implicit.c | 28 +++++-------
src/interfaces/ecpg/test/thread/alloc.pgc | 6 ---
src/interfaces/ecpg/test/thread/descriptor.pgc | 6 ---
src/interfaces/ecpg/test/thread/prep.pgc | 6 ---
src/interfaces/ecpg/test/thread/thread.pgc | 6 ---
.../ecpg/test/thread/thread_implicit.pgc | 6 ---
10 files changed, 58 insertions(+), 118 deletions(-)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove _configthreadlocale() calls in ecpg test suite.
In-Reply-To: <E1gmn4h-0004Vb-Oe@gemulon.postgresql.org>
References: <E1gmn4h-0004Vb-Oe@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