Fully transition into postgresql