transfer to postgre database