git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9bd0fee) | patch
pg_upgrade: adjust umask() calls
2013年7月25日 15:33:15 +0000 (11:33 -0400)
2013年7月25日 15:33:15 +0000 (11:33 -0400)
commit 76a7650c40efeeb35be7a60f27ce151ad4e473a2
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.
contrib/pg_upgrade/dump.c diff | blob | blame | history
contrib/pg_upgrade/exec.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /