configure to use postgres