]> granicus.if.org Git - postgresql/commit
Make setlocale in ECPG test cases thread aware on Windows.
authorMichael Meskes <meskes@postgresql.org>
Sat, 26 Aug 2017 10:57:21 +0000 (12:57 +0200)
committerMichael Meskes <meskes@postgresql.org>
Wed, 13 Sep 2017 22:47:03 +0000 (00:47 +0200)
commit38d7cb67f2e8798d6e0ecff8334345a3ae73b902
treef47b3d67134a9f247c88c340ac0e4f9aab5a9fad
parentd587813edba16ae52330c881c27e4c91799a0d9c
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
src/interfaces/ecpg/test/expected/thread-alloc.c
src/interfaces/ecpg/test/expected/thread-descriptor.c
src/interfaces/ecpg/test/expected/thread-prep.c
src/interfaces/ecpg/test/expected/thread-thread.c
src/interfaces/ecpg/test/expected/thread-thread_implicit.c
src/interfaces/ecpg/test/thread/alloc.pgc
src/interfaces/ecpg/test/thread/descriptor.pgc
src/interfaces/ecpg/test/thread/prep.pgc
src/interfaces/ecpg/test/thread/thread.pgc
src/interfaces/ecpg/test/thread/thread_implicit.pgc