pgsql: Second try at fixing ecpglib thread-safety problem. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Second try at fixing ecpglib thread-safety problem.
Date
Msg-id E1glgwV-00022u-T3@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

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

Modified Files
--------------
configure                                    | 11 +++++++++++
configure.in                                 |  1 +
src/include/pg_config.h.in                   |  3 +++
src/include/pg_config.h.win32                |  3 +++
src/interfaces/ecpg/ecpglib/descriptor.c     |  4 ++--
src/interfaces/ecpg/ecpglib/ecpglib_extern.h |  2 +-
src/interfaces/ecpg/ecpglib/execute.c        |  6 +++---
7 files changed, 24 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Remove superfluous tqual.h includes.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Flush relcache entries when their FKs are meddled with