postgresql/src/bin/initdb
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
..
po Translation updates 2015-02-01 23:23:40 -05:00
t Remove use of TAP subtests 2014-10-29 19:41:19 -04:00
.gitignore Add TAP tests for client programs 2014-04-14 21:33:46 -04:00
Makefile Update copyright for 2015 2015-01-06 11:43:47 -05:00
findtimezone.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
initdb.c Run pg_upgrade and pg_resetxlog with restricted token on Windows 2015-03-30 17:07:52 -04:00
nls.mk Translation updates 2014-12-15 00:25:35 -05:00