Usage: scripts/postgresql/switch_primary.sh <old_primary_hostname> <new_primary_hostname>
Only takes a cleartext password and outputs a salted, hashed password string for LDAP documents.