changing prod to postgres