Revert to postgres