If PGHOST is unix socket, use localhost for jdbc