set database to postgres