Set PG connection