aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-09-17 20:38:42 +0900
committerMichael Paquier <michael@paquier.xyz>2018-09-17 20:38:42 +0900
commitf02259fe93e75d5443a2fabe2f2f38b81924ab36 (patch)
tree4f1da99ff80991d5335e2437d6645688f95a3b6d /src/backend/executor/nodeHashjoin.c
parentbcbd1590279c1dfc3e6756a09166943437071bd2 (diff)
downloadpostgresql-f02259fe93e75d5443a2fabe2f2f38b81924ab36.tar.gz
postgresql-f02259fe93e75d5443a2fabe2f2f38b81924ab36.zip
Allow concurrent-safe open() and fopen() in frontend code for Windows
PostgreSQL uses a custom wrapper for open() and fopen() which is concurrent-safe, allowing multiple processes to open and work on the same file. This has a couple of advantages: - pg_test_fsync does not handle O_DSYNC correctly otherwise, leading to false claims that disks are unsafe. - TAP tests can run into race conditions when a postmaster and pg_ctl open postmaster.pid, fixing some random failures in the buildfam. pg_upgrade is one frontend tool using workarounds to bypass file locking issues with the log files it generates, however the interactions with pg_ctl are proving to be tedious to get rid of, so this is left for later. Author: Laurenz Albe Reviewed-by: Michael Paquier, Kuntal Ghosh Discussion: https://postgr.es/m/1527846213.2475.31.camel@cybertec.at Discussion: https://postgr.es/m/16922.1520722108@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions