postgresql/contrib/pg_upgrade
Andrew Dunstan fa1e5afa8a Run pg_upgrade and pg_resetxlog with restricted token on Windows
As with initdb these programs need to run with a restricted token, and
if they don't pg_upgrade will fail when run as a user with Adminstrator
privileges.

Backpatch to all live branches. On the development branch the code is
reorganized so that the restricted token code is now in a single
location. On the stable bramches a less invasive change is made by
simply copying the relevant code to pg_upgrade.c and pg_resetxlog.c.

Patches and bug report from Muhammad Asif Naeem, reviewed by Michael
Paquier, slightly edited by me.
2015-03-30 17:07:52 -04:00
..
.gitignore Update .gitignore for pg_upgrade 2014-12-17 11:55:22 +01:00
check.c pg_upgrade: quote directory names in delete_old_cluster script 2015-02-11 22:06:04 -05:00
controldata.c pg_upgrade: improve checksum mismatch error message 2015-02-11 22:22:26 -05:00
dump.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
exec.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
file.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
function.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
info.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile pg_upgrade: remove support for 8.3 old clusters 2014-08-25 20:05:07 -04:00
option.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
page.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
parallel.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
pg_upgrade.c Run pg_upgrade and pg_resetxlog with restricted token on Windows 2015-03-30 17:07:52 -04:00
pg_upgrade.h Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
relfilenode.c pg_upgrade: fix one-byte per empty db memory leak 2015-01-09 12:12:30 -05:00
server.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
tablespace.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
test.sh Update copyright for 2015 2015-01-06 11:43:47 -05:00
TESTING Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
util.c Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
version.c Update copyright for 2015 2015-01-06 11:43:47 -05:00