]> granicus.if.org Git - postgresql/commit
Second try at fixing ecpglib thread-safety problem.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2019 21:17:10 +0000 (16:17 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jan 2019 21:17:10 +0000 (16:17 -0500)
commitee27584c4a40620fb26d1729e9cc449d54d62b07
treee841f04f0e7ca473503f6dc52b1bf53a3c8c2f4b
parent527114e51e45dbd91d46171fa4a111355f0dfc3b
Second try at fixing ecpglib thread-safety problem.

While Windows (allegedly) has _configthreadlocale() pretty far back,
it seems MinGW didn't acquire support for that till more recently.
Fortunately, we can use an autoconf probe on that toolchain,
instead of guessing whether it's there.  (Hm, I wonder whether Cygwin
will need this also.)

Per buildfarm.

Discussion: https://postgr.es/m/20190121193512.tdmcnic2yjxlufaw@alap3.anarazel.de
configure
configure.in
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/interfaces/ecpg/ecpglib/descriptor.c
src/interfaces/ecpg/ecpglib/ecpglib_extern.h
src/interfaces/ecpg/ecpglib/execute.c