simplify postgres versioning states