Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

pg_resetxlog.c

  • Andrew Dunstan's avatar
    94856631
    Run pg_upgrade and pg_resetxlog with restricted token on Windows · 94856631
    Andrew Dunstan authored
    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.
    94856631
    History
    Run pg_upgrade and pg_resetxlog with restricted token on Windows
    Andrew Dunstan authored
    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.