diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-01-24 17:02:09 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-01-24 17:02:09 -0500 |
| commit | e3565fd61cee16414a682d2be0d44c112a80a30c (patch) | |
| tree | 4e9cfa01c3ba898b932369b4bac3257e2fc0bbe1 /src/interfaces/ecpg/test/thread/thread_implicit.pgc | |
| parent | d5a1fde397269bd60b99e70a4eb2934b75fd31ec (diff) | |
| download | postgresql-e3565fd61cee16414a682d2be0d44c112a80a30c.tar.gz | |
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
Diffstat (limited to 'src/interfaces/ecpg/test/thread/thread_implicit.pgc')
| -rw-r--r-- | src/interfaces/ecpg/test/thread/thread_implicit.pgc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/test/thread/thread_implicit.pgc b/src/interfaces/ecpg/test/thread/thread_implicit.pgc index 0dfcb7172b..bbc4d7783c 100644 --- a/src/interfaces/ecpg/test/thread/thread_implicit.pgc +++ b/src/interfaces/ecpg/test/thread/thread_implicit.pgc @@ -105,12 +105,6 @@ void *test_thread(void *arg) char l_connection[128]; EXEC SQL END DECLARE SECTION; -#ifdef WIN32 -#ifdef _MSC_VER /* requires MSVC */ - _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); -#endif -#endif - /* build up connection name, and connect to database */ #ifndef _MSC_VER snprintf(l_connection, sizeof(l_connection), "thread_%03ld", threadnum); |
