summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2013-07-25 15:33:14 +0000
committerBruce Momjian2013-07-25 15:33:14 +0000
commit830d0e0edd73c015ca07423c402a3b1f79118d8f (patch)
tree9fa89d2b04d461b49d159d5676b45a78bfe7403f /src
parentb48f1dc2d35279b0814d60c24e488df2c295bb85 (diff)
pg_upgrade: adjust umask() calls
Since pg_upgrade -j on Windows uses threads, calling umask() before/after opening a file via fopen_priv() is no longer possible, so set umask() as we enter the thread-creating loop, and reset it on exit. Also adjust internal fopen_priv() calls to just use fopen(). Backpatch to 9.3beta.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions