Processing for remote hosts and postgres user roles