add conf for postgresdb