Changes postgres profile