Change name variable to database in pg::db