Configuring postgresql.