Bruce Momjian 76a7650c40 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.
2013-07-25 11:33:15 -04:00
..
2013-05-29 16:58:43 -04:00
2013-07-25 11:33:15 -04:00
2013-07-25 11:33:15 -04:00
2013-05-29 16:58:43 -04:00
2013-07-04 03:24:09 +09:00
2012-12-26 19:26:30 -05:00
2013-05-29 16:58:43 -04:00
2013-06-01 09:38:15 -04:00
2013-06-01 10:18:59 -04:00
2013-07-02 10:29:49 -04:00
2013-05-29 16:58:43 -04:00
2012-05-15 22:19:41 +03:00
2013-05-29 16:58:43 -04:00