aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-03-30 17:17:17 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-03-30 17:17:17 -0400
commit0904eb3e19842dd103adb6a8b3f65987b678a0e6 (patch)
tree2a3db4baeeaedb43e715a24075189edfaaa51bbf /src/backend/utils/adt/json.c
parent246bbf65cea9a9d91ff387ec0741b180f9956a87 (diff)
downloadpostgresql-0904eb3e19842dd103adb6a8b3f65987b678a0e6.tar.gz
postgresql-0904eb3e19842dd103adb6a8b3f65987b678a0e6.zip
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.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions