Changing database backend to postgreSQL