postgresql/contrib/pg_upgrade
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
..
.gitignore
check.c pg_upgrade: pass username to analyze script 2013-06-28 19:11:51 -04:00
controldata.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
dump.c pg_upgrade: adjust umask() calls 2013-07-25 11:33:15 -04:00
exec.c pg_upgrade: adjust umask() calls 2013-07-25 11:33:15 -04:00
file.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
function.c pg_upgrade: Replace tabs in output string constants by spaces 2013-05-13 21:42:19 -04:00
IMPLEMENTATION
info.c Get rid of pg_class.reltoastidxid. 2013-07-04 03:24:09 +09:00
Makefile Add pg_upgrade --jobs parameter 2012-12-26 19:26:30 -05:00
option.c pg_upgrade: pass username to analyze script 2013-06-28 19:11:51 -04:00
page.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
parallel.c pg_upgrade: fix initialization of thread argument 2013-07-24 22:01:31 -04:00
pg_upgrade.c Post-pgindent cleanup 2013-06-01 09:38:15 -04:00
pg_upgrade.h pg_upgrade: pass username to analyze script 2013-06-28 19:11:51 -04:00
relfilenode.c Minor spelling fixes 2013-06-01 10:18:59 -04:00
server.c pg_upgrade: revert changing '' to "" 2013-07-02 10:29:49 -04:00
tablespace.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
test.sh pg_upgrade: more Windows parallel/-j fixes 2013-07-24 13:15:47 -04:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
util.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
version_old_8_3.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
version.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00