aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2023-01-06 10:09:02 +1300
committerThomas Munro <tmunro@postgresql.org>2023-01-06 10:33:28 +1300
commitf2857af485a00ab5dbfa2c83af9d83afe4378239 (patch)
tree33e01fe3398dc6434d4e427675ec06e930b2e971 /contrib/postgres_fdw/postgres_fdw.c
parent39cffe95f2c5d77a268db9f04c2b2aaf2294ad76 (diff)
downloadpostgresql-f2857af485a00ab5dbfa2c83af9d83afe4378239.tar.gz
postgresql-f2857af485a00ab5dbfa2c83af9d83afe4378239.zip
Use unnamed POSIX semaphores on Cygwin.
Testing on CI showed that Cygwin's semctl() can fail with EAGAIN (possibly due to resource limits in cygserver that could be tuned, not examined). Switch to so-called POSIX semaphores instead, which don't seem to fail in that way (possibly due to a more direct implementation using Windows semaphore primitives instead of talking to cygserver, based on a cursory glance at the source). Other known problems still prevent PostgreSQL from running on Cygwin without random crashes, but this rarer problem was noticed while testing. Discussion: https://postgr.es/m/CA%2BhUKG%2BQ6DU4Ov9LrvUyDcF3oHS4KMRVSKmVGaeePq-kOyG9gA%40mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions