Finish configuration of PostgreSQL