diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-01-23 22:46:45 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-01-23 22:46:45 -0500 |
commit | 2cf91ccb73ce888c44e3751548fb7c77e87335f2 (patch) | |
tree | 5c144d2c0e641d610b2e43da27dbe6cbdfa73406 /contrib/postgres_fdw/postgres_fdw.c | |
parent | ae366aa57762ad0e6a1a0885a7644e79541afe39 (diff) | |
download | postgresql-2cf91ccb73ce888c44e3751548fb7c77e87335f2.tar.gz postgresql-2cf91ccb73ce888c44e3751548fb7c77e87335f2.zip |
Blind attempt to fix _configthreadlocale() failures on MinGW.
Apparently, some builds of MinGW contain a version of
_configthreadlocale() that always returns -1, indicating failure.
Rather than treating that as a curl-up-and-die condition, soldier on
as though the function didn't exist. This leaves us without thread
safety on such MinGW versions, but we didn't have it anyway.
Discussion: https://postgr.es/m/d06a16bc-52d6-9f0d-2379-21242d7dbe81@2ndQuadrant.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions