• Peter Eisentraut's avatar
    initdb: Fix for mixed-case superuser names · 8b0fec93
    Peter Eisentraut authored
    The previous coding did not properly quote the user name before casting
    it to regrole.  To avoid all that, just pass in BOOTSTRAP_SUPERUSERID
    numerically.
    
    Also fix one place where the BOOTSTRAP_SUPERUSERID was hardcoded as 10.
    8b0fec93
initdb.c 82.5 KB