Setting up a foreign PostgreSQL server