change default database to postgresql