Set up basic configuration for postgres.